Quote
happyuser
I have to simulate a button click on an html button.
In that html page there is a button, on this button there is an "onclick" function. I just simply want click this html button, or call the "skipButton() function.
onclick="skipButton()"
How can solve that? Thanks!
That, as simple as you tell (the script/function is already in the page), can be done by just calling the function via URL
javascript:skipButton()
. Or, in macro language, a line like
open("javascript:skipButton()");
Edited 1 time(s). Last edit at 11/09/2011 09:53PM by JohnHell.