Capture checkbox click on either ID
Hi all
I have the following to capture a click event on any checkbox where it's ID begins with 'iagree':
- $('body').on('click', '[id*=iagree]', function (e) {
What I need to do is add in the ability to check if adifferent id is clicked as well, as part fo the same line of code (if possible). i.e:
- $('body').on('click', '[id*=iagree],[id*=otherone]', function (e) {
How can I do this?