Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
1148 Points
1357 Posts
Jan 07, 2010 09:04 PM|LINK
Hi Urspalshu,
If you've got an input with an id of txtEmail you should be able to use the following code to access the value of the text box:
$("#txtEmail").val()
You can also use the val(string) method to set that value:
$("#txtEmail").val("something")
SpongeBert
Participant
1148 Points
1357 Posts
Re: jquery get textbox text value
Jan 07, 2010 09:04 PM|LINK
Hi Urspalshu,
If you've got an input with an id of txtEmail you should be able to use the following code to access the value of the text box:
You can also use the val(string) method to set that value:
Please "mark as answer" if it's useful for you
Sincerely,
SpongeBert