text in the textbox and adding value in textbox php jquery code example
Example 1: jquery value of input
$("#textInput").val() // To get value of element textInput
Example 2: get value of input jqueyr
var str = $("#myInput"). val();
$("#textInput").val() // To get value of element textInput
var str = $("#myInput"). val();