I agree you'd be better off without CGI::Ajax -- doing it yourself (with
the help of jQuery or Prototype) is much easier and more fun, because
you can see what you're doing.
That said, I know how you feel about making the durn thing work so you
can do something else :-)
RA Jones wrote:
The template contains the target div, also not shown earlier but basically:
<p><input type="text" id="nhsno" onchange="validate_nhsno(['nhsno'],
['bad_nhsno']); return true;"><b id="bad_nhsno"></b></p>
If you set the perl sub to
sub validate_nhso{
return 'Fred' ;
}
what happens?
--
Bruce
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]