jquery get inputs of form code example
Example 1: get value of input jqueyr
var str = $("#myInput"). val();
Example 2: jquery get input type
$('#identifier').attr('type');
var str = $("#myInput"). val();
$('#identifier').attr('type');