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.