Avoid setting an event handler like onclick, onmouseover, onsubmit... using element.setAttribute() (Javascript) | CAST Appmarq