jquery is value code example
Example 1: get value of input jqueyr
var str = $("#myInput"). val();
Example 2: jquery this value
$( "input" )
var value = $( this ).val();
var str = $("#myInput"). val();
$( "input" )
var value = $( this ).val();