Secret Orange Web Log

Set hidden value jquery

Setting the value of a hidden field with jQuery is easy. Simply use the val() function.

$("#MyHiddenField").val("my value");

0 comment(s)

Want to Leave a comment?

Name:  
Email:  
Website:
Comment: