how to get a value using jquery
snippet in javascript

how to get a value using jquery

user2842

//for imput field given in HTML

<input type="text" id="myid" class="myclass" >
  
// Using ID to find value
  
$("#myid").val();

// Using Class to find value

$(".myclass").val();
 

jquery value of input

user5231

$("#textInput").val() // To get value of element textInput