Reputation: 3740
Hi I've an html page with submit button. I want to call that submit button event froma a different page using javascript.
is it possible? Can some one give me any example. I'm searching for it from hours.
thank you,
Upvotes: 0
Views: 1584
Reputation: 19598
You can use form.submit() method.
document.forms["myform"].submit();
Upvotes: 1