Click here to Skip to main content
15,901,283 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear Sir,

I have bind data in html table using jquery and webservices.and also generate dynamic textbox inside each row of table..But i am not able to find all text box value on button click,to save data in my sqlserver database..Plz Help..
Posted
Comments
ZurdoDev 30-Jan-16 11:02am    
How can we help?

1 solution

This just example

$('ur selector name').append('<table></table>');<br />
var table = $('#dynamictable').children();    <br />
table.append("<table><tbody><tr><th>a</th><th>b</th><th>b</th></tr></tbody></table>");<br />
table.append("<table><tbody><tr><td>a</td><td>b</td><td>b</td></tr></tbody></table>");<br />
table.append("<table><tbody><tr><td>c</td><td>d</td><td>b</td></tr></tbody></table>");<br />
table.append("<table><tbody><tr><td>"+b.id+"</td><td>"+b.total+"</td><td>"+ b.chinese +"</td></tr></tbody></table>");<br />
table.append("<table><tbody><tr><td>"+b.updated+"</td><td>"+b.issued+"</td></tr></tbody></table>");
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900