[cgiapp] Javascript to set multiple form params

2003-11-07 Thread Dimitris Papaharisis
Hi all. I ve been having problems when I had forms that would have multiple submit buttons (or links) such as user lists with multiple edit/delete buttons. Its fine if I wanted to use GETs but I real pain if I used POSTs. I have written a little Javascript function that takes the form name as

RE: [cgiapp] Javascript to set multiple form params

2003-11-07 Thread Dimitris Papaharisis
Hi bret. I m not the strongest one iether and dont particularly like using it but it is the only way I could find to do what I wanted. I would be more than happy to implement that in my superclass but how? Could you please provide me with an example of some code? -Original Message-

RE: [cgiapp] Javascript to set multiple form params

2003-11-07 Thread Bill McCormick
Yea ... Id like to know too. I'm now using a lot of very basic, compatible JavaScript, because it seems to be the only way to do some things without bloating the CGI world. Here a couple of examples of how I use JavaScript, that if somebody would like to provide an alternate solution, I would

Re: [cgiapp] Javascript to set multiple form params

2003-11-07 Thread Brett Sanger
1. I too have pages with hidden's inside forms. Some of the forms are just dummy forms used for passing params to another run-mode. For example, I have This can be done with a run mode that calls other run modes based on some data (whatever data the Javascript uses, unless you're using

Re: [cgiapp] Javascript to set multiple form params

2003-11-07 Thread Ron Savage
On Fri, 7 Nov 2003 16:53:41 -0500, Brett Sanger wrote: Hi Folks 2. The other thing I'm using JavaScript for that I can't see doing another way (without embedding Perl,) is to create dynamic select boxes. Ala Nope, no way of doing that short of some sort of client-side interpretation. I

RE: [cgiapp] Javascript to set multiple form params

2003-11-07 Thread Bill McCormick
That's great but I just finished rolling my own. Looks pretty much like the same thing I've got here. I wish I would have found that about 2 weeks ago. I didn't think to check CPAN because JavaScript was involved. Well ... live and learn; and I have learned a lot!!! Now I have a very solid