Now , I am using ASP.net with C# . I have a Grid and there are two text box controls in it. How should I do to get the value of these two text box controls from JavaScript.
Regards
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can get the value of text box in grid view through java script as follows:
Just add a call to a javascript function on onblur or on keypress or any other event you want, of the textbox control you want to get the value of, like following:
Now in script tag creat a function like this:
Hope This Helps.