I have an input field that looks like this:
<input type="hidden" name="submitted[event_email]" value="">
I was trying to change the value of it and tried this:
jQuery('submitted[event_email]').val('test');
I would like to target it by the name, but i am not sure what i did wrong. Would anyone be able to help?
event_emailsetted, you need to target name attribute