Answers for "how to get value in jquery for textbox"

2

how to get value in jquery for textbox

//If you've got an input with an id of txtEmail you can 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")
Posted by: Guest on March-09-2021

Code answers related to "how to get value in jquery for textbox"

Code answers related to "Javascript"

Browse Popular Code Answers by Language