Tag Archives: event

Checking a Checkbox inside a List Item by Clicking the Parent or Child

It’s quite common to see list items <li> or table rows <tr><td> which contain a checkbox <input type=”checkbox”/>. Rather than the user having to be very precise and click/touch on the checkbox, it’s often preferable, especially on mobile devices, to … Continue reading

Posted in click(), JavaScript, jQuery | Tagged , , , , , , , , , | 1 Comment

jQuery .on() – How to use it with $(this)

I’m posting this as IĀ foundĀ this particular jQuery method quite difficult to understand from the official documentation at jquery.com. Documentation on the use of $(this) with .on() is not easy to find at the time of writing. ‘Normal’ selectors for events … Continue reading

Posted in JavaScript, jQuery, on() | Tagged , , , , , , , , , , , | Comments Off on jQuery .on() – How to use it with $(this)