I am trying to set the value of a hidden field below using jQuery.
<input type="hidden" value="" name="testing" />
I am using this code:
var test = $("input[name=testing]:hidden"); test.value = 'work!';
But it does not work. What is wrong with my code?
javascript jquery
TonyM Jan 26 2018-11-11T00: 00Z
source share