how to get value from hidden input type array using jquery -
how value hidden input type array input below , trying code
  <input type="hidden" name="position[]" value="10">   var arr= $('input[type="hidden"][name="position[]"]').val();      
try code
var arr = $('input[type="hidden"][name="position[]"]').map(function(){   return this.getattribute("value"); }).get();      
Comments
Post a Comment