Get textbox value in a GridView templatefield using Jquery
I am using a text box inside a GridView as ItemTemplate field. I have a requirement to get the value of the text box usingJquery. How can I do that? How can I get the textbox object under a GridView in Jquery.开发者_Go百科
Thanks in advance
at last i find out myself.... Ans of this question...
Use a class for that text box and use following code
$('.qty').live('change', function() {
///code here
});
where qty
is the class name of the text box
精彩评论