Bruce McKenzie wrote:
Your corresponding javascript func must send the string to some target
div or else handle it with another function (a callback) that will
manipulate it further.
I know, I didn't show all the code as I thought it would make the
message unnecessarily long. The
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
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:
- Original Message -
From: RA Jones [EMAIL PROTECTED]
To: List - CGI-Application cgiapp@lists.erlbaum.net
Sent: Saturday, October 21, 2006 4:04 PM
Subject: Re: [cgiapp] CGI::App CGI:Ajax nearly working - please help with
last bit
Bruce McKenzie wrote:
I agree you'd be better off
Bruce McKenzie wrote:
with the tiny (~15k) jQuery library loaded, all the javascript you
would have to write would be something like this (assuming you use
rm=runmode in CGIApp)
function validateNHSOwithAjax(myInput){ $('#someHTMLContainer').load(
'myWebApp.cgi', { rm : 'validate_nhso',
Bruce McKenzie wrote:
function validateNHSOwithAjax(myInput){
$('#someHTMLContainer').load(
'myWebApp.cgi',
{
rm : 'validate_nhso',
itemToValidate : myInput
});
}
Just for balance, this is the equivalent in Prototype
new Ajax.Updater(
{ success: 'someHTMLContainer'
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
Jonathan Mangin wrote:
Well, just to finish the story...
I needed to register the subs this way.
They also need to be defined as run_modes in setup.
my $activity_url = 'fitness.pl?rm=getActivity';
my $daily_url = 'fitness.pl?rm=dispDaily';
my $pjx = new CGI::Ajax('getActivity' =
- Original Message -
From: RA Jones [EMAIL PROTECTED]
To: List - CGI-Application cgiapp@lists.erlbaum.net
Sent: Saturday, October 21, 2006 6:26 PM
Subject: Re: [cgiapp] CGI::App CGI:Ajax nearly working - please help with
last bit
Jonathan Mangin wrote:
Well, just to finish the
On Sat, 21 Oct 2006 21:04:22 +0100, RA Jones wrote:
Hi Richard
Predictably, and disappointingly:
Content-Type: text/html; charset=ISO-8859-1 Fred
I see this in the docs for CGI::Ajax:
-8-
We have added Isupport for other CGI handler/decoder modules,like
LCGI::Simple or LCGI::Minimal,
10 matches
Mail list logo