mgersting
12-31-2002, 12:17 AM
Hey all, thanks in advance for your help.
What I'd like to do is to create a script that creates and submits a form that does not already exist on the page. This way, this function can be attached to a normal link and would allow me to send variables via POST using a standard anchor.
I've been playing with this for awhile and have not had much luck. Here's a sample prototype:
PostVal ( formName, valToSend, action);
The script would create the form object, a related text field, set the action and then submit the form.
Any tips would be greatly appreciated!
What I'd like to do is to create a script that creates and submits a form that does not already exist on the page. This way, this function can be attached to a normal link and would allow me to send variables via POST using a standard anchor.
I've been playing with this for awhile and have not had much luck. Here's a sample prototype:
PostVal ( formName, valToSend, action);
The script would create the form object, a related text field, set the action and then submit the form.
Any tips would be greatly appreciated!