Joginder Banger

Joginder Banger

  • 213
  • 8.7k
  • 1m

Set a value a particular div in datalist help of jquery

Mar 7 2014 6:06 AM
i have try google but can't get a proper solution yet. I want set a value on Div in Datalist help of jquery. Because i want value get and save in database without page postback. I have try many way but can't success. i try add cssclass value find but all cssclass value find. like that our datalist have three record's like that 1 . job_id 11 2 . job_id 12 3 . job_id 13
suppose I click the job_id 11 then change the value only 11 not a 12 or 13 record's. 
<asp:ImageButton ID="Img_Up_vote" runat="server" OnClientClick="upvote(this);return false;" ImageUrl="~/images/up.png" data-JobID='<%#Eval("OrgJob_id")%>' /> </a> <br /><div id="vote_score"> <%#Eval("VoteCount")%></div> //Change the Data here <br />