jquery append not working right
<p>I have a table with a each td element containing an input tag. I wrote the following code</p>

<pre><code>var elements = $('#booklist .ISBN_number');
</code></pre>

<p>to make an array of all of the isbn numbers contained in those input tags.</p>

<p>I am trying to write a jquery command to append an image to the content of those input tags. I had written</p>

<pre><code>$(elements[index]).val().append("&lt;img src = 'pics/green_checkmark.png'&gt;");
</code></pre>

<p>which doesn't work. I have checked and $(element[index]).val() does have a numeric isbn value. Why can't I append to it? (I wan't to image to show up on the right of the input tag)</p>
