Passing Data to Webpage (OpenInsight Specific)
At 17 AUG 2000 09:49:49AM David Mayes wrote:
I have developed a website which uses OpenInsight to process information that the websurfer provides. It is a combination of standard web pages and Open Insight web pages. A portal company wants to pass information to my website. The question is how do i maintain that information through all the web pages on my site (including the ones which are not forms). Is there a way to trigger the 'SUBMIT' event without having the user click on a button. Can it be triggered with a link for example? I know this is more an HTML question but was hoping someone could help and save me some time experimenting.
At 17 AUG 2000 08:39PM Richard Hunt wrote:
Ok, let me see if i can explain this clearly. Within the "FORM" tag put this…
Click here to submit
You no longer need to have the INPUT type "SUBMIT".
Now, I do believe that will do it. I have not tried it to verify it works perfectly.
The "A" tag just simply allows you to use the "ONCLICK" event. The "ONCLICK" event allows you to "SUBMIT()" the form. This will work on netscape 2 and up, Internet explorer 3 and up.
At 18 AUG 2000 12:54AM Don Bakke wrote:
David,
What Richard provided will help. There are a few other approaches you could take as well.
One easy way to create a link that simulates a submit button is to take the URL that a submit button generates (assuming you aren't using Javascript to hide this) from your address bar and copy that into the href parameter of your anchor tag. If you examine this carefully you'll see exactly how the HTML form constructs a request to the OICGI engine. Just modify this per your needs or desire.
dbakke@srpcs.com