title: jQuery find last input and append
body: <p>I am trying to append an image after the last input field in a div, any ideas as to why this won't work?</p>
  
  <pre><code>$('&lt;img src="img/loading.gif" id="loading_img" /&gt;').appendTo($(form).find('input:last'));
  </code></pre>