$(document).on(“click”… not working?
You are using the correct syntax for binding to the document to listen for a click event for an element with id=”test-element”. It’s probably not working due to one of: Not using recent version of jQuery Not wrapping your code inside of DOM ready or you are doing something which causes the event not to … Read more