I have an urgent issue in a HTML Document.
I need to click on the submit button to trigger an event and call a backend service. But I dont want the user to click on this button when the page is loaded[ It should be automatic when the page is loaded].. Is there a way to make this happen..
I dont want to use document.form1.submit() on load, because the event is based name="~event1" value="Refresh" of submit button.. Is there any way to simulate of clicking a Submit Button()..
<form name="form1" action="`wgateURL()`" method="post" >
<input type="submit" name="~event1" value="Refresh">
Any suggestion and help is appreciated.