title: Resize image after ajax
body: <p>So, in the AJAX I append an image to a dynamically generated element, and tried to resize it using .css from jQuery, but the image is not resizing. How do I resize it?  </p>
  
  <p>Here is an example:  </p>
  
  <pre><code>$("#lalala").append('&lt;div class="blah"&gt;&lt;/div&gt;');
  $.ajax({
      ...
      success: function(data)
      {
          $(".blah").append('&lt;img src="images/"'+data[img]+'"&gt;');
          $(".blah img").css({'width':'120px' , 'height':'120px'});
      }
  </code></pre>