script js get click code example Example: javascript perform click eventFire(document.getElementById('mytest1'), 'click');