how to change html image src by j-query
<p>view.aspx    </p>

<pre><code>&lt;img src ="~/UserControls/Vote/Images/Arrow Up.png" id = "voteupoff" 
            runat = "server" alt ="vote up" 
    class="voteupImage" style="height: 45px; width: 45px"/&gt;
</code></pre>

<p>i wnat to change it src ~/UserControls/Vote/Images/aftervoteupArrowUp.png when click on image i means</p>

<p>view.js</p>

<pre><code>    $('img.voteupImage').live('click', function() {

 $('img.voteupImage').attr('src', aftervoteUp);
     }
but it's not working..
</code></pre>
