SyntaxFix
Write A Post
Hire A Developer
Questions
To make it with jquery, make this way:
var test = $("input[name=testing]:hidden"); test.val('work!');
Or
var test = $("input[name=testing]:hidden").val('work!');
See working in this fiddle.