SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : DATEK Web Pages

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Scott Pedigo who wrote (68)3/12/1998 11:37:00 AM
From: Jon Tara  Read Replies (1) of 205
 
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.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext