I have an input element with onclick attribute attached to it:
<input id="" type="radio" name="" value="" onclick="SetUniqueRadioButton('rptrDelRates.*grpDelRate', this);">
Everything is working good, but when I decide to trigger click manually on this element using jQuery I get the error below:
Invalid regular expression: /rptrDelRates.*grpDelRate/: Stack overflow
jQuery call:
$('.setup-radio').on('click', function () {
$(this).find('input').trigger('click');
return false;
});
.setup-radioin your input.setup-radio.SetUniqueRadioButtonfunction's code.