Here is a simple implementation of a form created with CGI::Appication,
Template-Toolkit, and CGI::Ajax that will process changed fields without
submitting and re-drawing the form.
Thanks to all for your help.
Cheers,
Bruce
webapp pl ##
#!/usr/bin/perl
use WebApp;
my
On Dec 17, 2005, at 1:48 PM, Bruce McKenzie wrote:
There was a thread here in October with a request for an example of a
simple implementation of CGI::App and Ajax. But then it went on and
got a little too complicated -- at least I don't see any
implementations simple enough for my skills in
Thanks. I didn't have any trouble getting the dox examples running.
What has me flummoxed is getting an onClick event attached to a submit
button that will do what I want it to -- not submit the form, but rather
send the changed fields to an external perl script (run mode?) and
confirm that the
On Sat, 17 Dec 2005 14:48:37 -0500, Bruce McKenzie wrote:
Hi Bruce
There was a thread here in October with a request for an example of
a simple implementation of CGI::App and Ajax. But then it went on
and got a little too complicated -- at least I don't see any
Yes, that's a pity.
I suggest
Thanks Fred -- that looks straightforward enough. However, the reason
I'm attracted to CGI::Ajax (formerly Perljax) is that (as I understand
the dox) you can do Ajax without knowing Javascript or XML :-)
The module is quite new, so if I manage to figure this out, maybe I'll
post my solution.
Ron Savage wrote:
o The synopsis has:
input type=text name=val1 id=val1
onkeyup=exported_func( ['val1'], ['resultdiv'] );
I think it would have been clearer to say:
name = some_name
so that you do not get the wrong idea about the usage of id.
Spot on, Ron! I got this note from