You also use .addEventListener or onEvent (ex: oncl1ck, onm0useover etc)
1
Anónimo
6 sep 2015
Using jQuery and the .on() method with a click event listener:
$('body').on('click', '#objectId', function() {
// this says within the body, upon a click event on the ID objectId, run this code...
});