Re: [cgiapp] Re: CGI::App CGI:Ajax nearly working - please help with last bit

2006-10-24 Thread RA Jones
David Scott wrote: RA, Please summarize your function so we can all benefit. David, With pleasure. The validation function is part of a much larger clinical information system, and validates the UK National Health Service number, which is a 10-digit unique patient identifier with a

Re: [cgiapp] Re: CGI::App CGI:Ajax nearly working - please help with last bit

2006-10-23 Thread Michael Peters
RA Jones wrote: OK, I tried the following in the head section of my template: script type=text/javascript src=/jquery.js/script script type=text/javascript !-- function validate_nhsno(myInput) { $('#nhs_no').load( 'check_nhsno.cgi', { rm : 'validate_nhsno',

Re: [cgiapp] Re: CGI::App CGI:Ajax nearly working - please help with last bit

2006-10-23 Thread RA Jones
Michael Peters wrote: Not to add too much to your plate, but you'll also need to use a browser that has decent debugging tools. I prefer firefox, but some people pay for visual studio and use IE. With Firefox, my Ajax debugging goes something like this: If it's not doing anything, then open up

[cgiapp] Re: CGI::App CGI:Ajax nearly working - please help with last bit

2006-10-21 Thread Robert Hicks
Michael Peters wrote: Well, the solution is simple, but maybe not what you want to hear. Don't use CGI::Ajax. I've never used it and have never missed it. Just put the necessary Javascript into your templates. I just started using JQuery on Friday. It is really nice. I think CA spoils you

Re: [cgiapp] Re: CGI::App CGI:Ajax nearly working - please help with last bit

2006-10-21 Thread Rhesa Rozendaal
Robert Hicks wrote: So now I use 2 frameworks that support plugins; CA and JQuery. :) Hey, HTML::Template::Pluggable supports plugins too, you know ;) Rhesa - Web Archive:

[cgiapp] Re: CGI::App CGI:Ajax nearly working - please help with last bit

2006-10-21 Thread Robert Hicks
Rhesa Rozendaal wrote: Robert Hicks wrote: So now I use 2 frameworks that support plugins; CA and JQuery. :) Hey, HTML::Template::Pluggable supports plugins too, you know ;) Rhesa Okay but I don't use HTML::Template. I use TT. : ) Oh, so I guess that is 3 things now. Robert