开发者

Get textbox value in a GridView templatefield using Jquery

开发者 https://www.devze.com 2023-01-29 00:50 出处:网络
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 i

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

0

精彩评论

暂无评论...
验证码 换一张
取 消