how to get the input tag value in jquery code example Example: get value of input jqueyr var str = $("#myInput"). val();