javascript thread: Question about dynamic forms...
Nevermind. I was being stupid. Thanks for your help...
//James
-----Original Message-----
From: Imar Spaanjaars [mailto:Imar@S...]
Sent: Monday, January 29, 2001 1:57 PM
To: javascript
Subject: [javascript] Re: Question about dynamic forms...
Since half of your mail is interpreted by my mail program, I can't read all
your source (HTML mail??)
But, how do you want to transfer the values?? When you use get, you just
append a value to the QueryString and that's it. (I assume that's what you
are doing now??)
When you want to use post, call your custom function in the A HREF, copy
the incoming values to hidden field variables, and then submit.
Server side you must then be able to retrieve them again.
Imar
At 01:37 PM 1/29/2001 -0500, you wrote:
> I have a form with hidden fields that I am dynamically populating
> when
>someone hits a link using the following code:
>
>Page 1 of 6 Pages.
>[1]<javascript:doit('1155900', '2');>[2]<javascript:doit('1155900',
>'3');>[3]<javascript:doit('1155900', '4');>[4]<javascript:doit('1155900',
>'5');>[5]<javascript:doit('1155900', '6');>[6]<javascript:doit('1155900',
>'2');>>
> The submit work fine but only with the method being GET, if I
> POST the form
>it doesn't send any form values to the page. I'm trying to create a dynamic
>navigation system for a project but I don't want any variables passed via
>the URL. Am I doing something wrong or does javascript not work with the
>post method.