function jquery get a value code example
Example 1: get value of input jqueyr
var str = $("#myInput"). val();
Example 2: jquery get value of element
// Get the value from id thisElement
$("#thisElement"). val();
var str = $("#myInput"). val();
// Get the value from id thisElement
$("#thisElement"). val();