Listview Image databinding change attribute from jquery
<p>Can anyone please help me with my difficulties as how to change image src attribute from listview databinding using jQuery. I'd like it, when the user click the img from listview databind change the <code>&lt;img id="imgviewer" src="" /&gt;</code>  tried this:</p>

<pre><code>$('img').click(function() {            
            $("#imgviewer").attr('src', 'uploadsimg/' + $('this').attr('title'));
        });
</code></pre>

<p>but it doesn't work. Thanks for your help.</p>

<p>here's my asp code</p>

<pre><code>&lt;asp:ListView ID="lvSubAlbumDB" ItemPlaceholderID="subitemContainer" runat="server"&gt;
    &lt;LayoutTemplate&gt;
        &lt;ul class="photolist"&gt;
            &lt;asp:PlaceHolder ID="subitemContainer" runat="server" /&gt;
        &lt;/ul&gt;
    &lt;/LayoutTemplate&gt;
    &lt;ItemTemplate&gt;
        &lt;li&gt;
            &lt;a href="" title="&lt;%# Eval("Filename")%&gt;"&gt;
                &lt;img border="0" src="uploadsimg/thumbnail/&lt;%# Eval("Filename")%&gt;" title="&lt;%# Eval("Filename")%&gt;" alt="" height="35" width="50" /&gt;
            &lt;/a&gt;
        &lt;/li&gt;
    &lt;/ItemTemplate&gt;
&lt;/asp:ListView&gt;
</code></pre>
