Replacing broken pins/legs on a DIP IC package. To get value, use: $.each($('input'),function(i,val){ if($(this).attr("type")=="hidden"){ var valueOfHidFiled=$(this).val(); alert(valueOfHidFiled); } }); or: var valueOfHidFiled=$('input[type=hidden]').val(); alert(valueOfHidFiled); To set value, use: $('input[type=hidden]').attr('value',newValue); value="3487">, W3Schools is optimized for learning and training. No, but SO is indexed by Google. Buy Me a Coffee. Input Hidden value Property Get security! How do I check if an element is hidden in jQuery? This may be easier if I show what I have. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. And if we want to get hidden field value in javascript asp.net c#, then our code would be as written below. Example