Oct 25, 2002 #1 fergman Technical User Joined Oct 19, 2000 Messages 91 Location US I have a sub that after it's run I want it to submit a form. Is there a way to do this without user interaction? either javascript, or vbscript.
I have a sub that after it's run I want it to submit a form. Is there a way to do this without user interaction? either javascript, or vbscript.
Oct 26, 2002 1 #2 hiteshkapadia Programmer Joined May 7, 2002 Messages 8 Location US You can submit the page using javascript without the user intervention. After running your subroutine, just right following javascript code: <script langauge="javascript"> document.forms[0].action="somefile.asp"; document.forms[0].submit(); </script> Upvote 0 Downvote
You can submit the page using javascript without the user intervention. After running your subroutine, just right following javascript code: <script langauge="javascript"> document.forms[0].action="somefile.asp"; document.forms[0].submit(); </script>