get value of input in function jquery code example
Example 1: jquery value of input
$("#textInput").val() // To get value of element textInput
Example 2: jquery get value of element
// Get the value from id thisElement
$("#thisElement"). val();
$("#textInput").val() // To get value of element textInput
// Get the value from id thisElement
$("#thisElement"). val();