0
Answer

Set a value a particular div in datalist help of jquery

Joginder Banger

Joginder Banger

10y
926
1
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 />