I’ve a field in the form,trying to get this value using jquery.It is always returning null.
Where am i going wrong ?
Here is what i tried http://jsfiddle.net/9gJGM/
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.
The value parameter is shown in the alert, which you have left blank!
HTML
JS
EDIT
In order to change the value of the textbox dynamically using JS, you can use the following.
This works on my browsers. If you leave the value parameter empty, you are bound to get a blank returned on your alert.
EDIT2
This is the right way to do it.