0
view.aspx如何通過J-查詢更改HTML圖片src
<img src ="~/UserControls/Vote/Images/Arrow Up.png" id = "voteupoff"
runat = "server" alt ="vote up"
class="voteupImage" style="height: 45px; width: 45px"/>
我wnat改變它的src〜/用戶控件/投票/圖片/當點擊圖像i表示
aftervoteupArrowUp.png view.js
$('img.voteupImage').live('click', function() {
$('img.voteupImage').attr('src', aftervoteUp);
}
but it's not working..