title: Set image in an input value
body: <p>I am trying to include an img tag inside an input's value attribute. I would like something like this using jquery:</p>
  
  <pre><code>&lt;input type="text" value="Lorem Impsum &lt;img src='...'/&gt;" /&gt;
  </code></pre>
  
  <p>I already tried this: </p>
  
  <pre><code>jQuery(document).ready(function() { 
       productinput = jQuery('input[value=product]');
       productinput.val(data.selectedData.value + '&lt;img style="width:128px" src="' + data.selectedData.imageSrc + '" /&gt;');
  });     
  </code></pre>
  
  <p>but it's not working. So, does anyone know how I can do this?</p>
  
  <p>Note: it is an image inside the value.</p>