How can I get the value using jQuery?
<input type="hidden" value="" id='h_v' class='h_v'>
Use val() instead of text() var hv = $('#h_v').val(); alert(hv);
<input type="hidden" value="" id='h_v' class='h_v'>
Use val() instead of text() var hv = $('#h_v').val(); alert(hv);
No comments:
Post a Comment