- Donnerstag, 2018-08-16 08:39
- »Catch click events before the DOM is loaded«. This solution relies on jQuery, but can be rewritten to work without. The idea is to add
onclick="return earlyClickHandler.call( this );"snippets to the HTML source where needed. This tiny function is guaranteed to be there, because it is part of the documents
onclickhandlers in the DOM when they are not needed any more.
Kommentare zu diesem Beitrag können per E-Mail an den Autor gesandt werden.