jquery this val code example
Example 1: jquery value of input
$("#textInput").val() // To get value of element textInput
Example 2: jquery this value
$( "input" )
var value = $( this ).val();
$("#textInput").val() // To get value of element textInput
$( "input" )
var value = $( this ).val();