myElement.onclick = myFunction;