Scott, not exactly sure what you are trying to do. But I presume you are using the Classic servers for quotes. But not sure what is wrong with just bookmarking "the" Datek login page.
Anyway, it's easy to do a post without actually pushing a button. I do this in Super-Express, because I prefer hyperlinks to buttons.
You need to create a "hidden" form first. Simply replace the button with a hidden field. For example, in Super-Express:
<INPUT TYPE=SUBMIT VALUE="Enter Order" NAME=enterorder>
is replaced with:
<INPUT TYPE=hidden VALUE="Enter Order" NAME=enterorder>
Now, you can submit the form with this JavaScript:
document.forms['enterorder'].submit();
You can use this in a hyperlink, as:
<A HREF="javascript:document.forms['enterorder'].submit();">Enter</A>
or, you could use it, as you've suggested as an OnLoad:
<BODY OnLoad="javascript:document.forms['enterorder'].submit();">
You may find, though, that doing this in an OnLoad is problematic, as it's easy to accidently re-load the page, which of course will re-submit the form.
Of course, you should replace "enterorder" and the text with the appropriate submit button that you are emulating. |