Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get a value using jquery

//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();
 
 
PREVIOUS NEXT
Tagged: #jquery
ADD COMMENT
Topic
Name
7+4 =