appendTo() is not a function?
<p>I thought this code should work but it didnt, can someone explain?</p>

<pre><code> $("#addLinkLayout input.comment, #addLinkLayout input.link").each(function() {
      $(this).val().appendTo('div#links');
 });
</code></pre>

<p>It says <code>$(this).val().appendTo()</code> is not a function.</p>
