[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] Javascript to set multiple form params


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-----
> From: Brett Sanger [mailto:suppressed
> Sent: 07 November 2003 14:50
> To: Dimitris Papaharisis
> Cc: suppressed
> Subject: Re: [cgiapp] Javascript to set multiple form params
>
>
> On Fri, Nov 07, 2003 at 09:34:22AM -0000, Dimitris Papaharisis wrote:
> > 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 it's
> > first parameter and key, value pairs of the input field name and value I
> > want to set it to.
>
> I'm not strong on my javascript, but that's because I tend to avoid
> it...it breaks in weird and unpredictable ways between browsers (even
> when something is labelled as "compatible", the alignment of Venus seems
> to disturb it), it's a pain to maintain, bloats the pagesize, and
> doesn't work if they have it turned off or are using any of the new
> handhelds/smartphones/whatnots that don't support javascript.  (And as
> an onClick, now your page doesn't work at all)
>
> So could you tell me if this is any different that embedding a similar
> function in your CGI::App subclass?
>
> --
> SwiftOne  /  Brett Sanger
> suppressed
>


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.