Website has the following code:
<ul class="left">
<li><div id="run" class="button"><div class="inner">Run</div></div></li>
</ul>
And this script:
$("#run").click(function() {...});
The following code doesn’t work!:(
document.getElementById('run').click();
How to press the button “Run” by javascript command to browser?
Thanks a lot for help!
Good old Javascript:
In jQuery:
More docs aboute firing mouse events manually.