Hi
Is it possible to achieve the following?
Using CGI, I would be creating an HTML page with a number of links, and a session ID in a hidden field.
What I would like to do is this:
Whenever a link is clicked, use JavaScript to write the clicked URI as the ACTION attribute of the form, and automatically POST the form.
I can't see any way to do this, but as I am rather new to JavaScript perhaps I am missing something.
The solution would have to be robust for all major browsers from version 3 and later.
Any advice would be much appreciated
Geoff Caplan [sig][/sig]
Is it possible to achieve the following?
Using CGI, I would be creating an HTML page with a number of links, and a session ID in a hidden field.
What I would like to do is this:
Whenever a link is clicked, use JavaScript to write the clicked URI as the ACTION attribute of the form, and automatically POST the form.
I can't see any way to do this, but as I am rather new to JavaScript perhaps I am missing something.
The solution would have to be robust for all major browsers from version 3 and later.
Any advice would be much appreciated
Geoff Caplan [sig][/sig]