posted on April 2, 2019
I am trying to use the ID instead of the class name for fields. I use the developer tools to lookup the ID of the fields but jquery does not appear to work. I swapped the . character for a # character and it works with some fields, but not with fields that have parentheses in the name.
This errors
$('#Field55(3)').val('1');
Classic javascript works
var changed = document.getElementById('Field55(3)'); changed.value = 1;
Is there a limitation to jquery with parentheses characters?
0
0