$("#textInput").val() // To get value of element textInput
// Get the value from id thisElement $("#thisElement"). val();
$( "input" ) var value = $( this ).val();