Michael Peters wrote:
Does it make a request against your server (check the access logs). If it
doesnt, then it's still a JS problem.
Yes, thanks it does - but the output is too embarrassing to reproduce
here! Suffice to say it helped to nail my error, all to do with the
original script calling the validation routine as a private function,
and not part of the $self object, so when the variable was passed from
the web via the AJAX function, it should have been shifted as the second
variable not the first. Re-writing the opening line of the validation
method as:
my ($self, $nhs_no) = @_;
instead of:
my $nhs_no = shift;
has made all the difference. So now with a great deal of help from
yourself and many others here (not least Bruce McKenzie) I have a
working AJAX function that I can successfully integrate into my existing
CGI::Application/TT web-app. Many thanks all.
***************************************************************************
This e-mail is confidential and privileged. If you are not the intended
recipient please accept our apologies; please do not disclose, copy or
distribute information in this e-mail or take any action in reliance on its
contents: to do so is strictly prohibited and may be unlawful. Please
inform us that this message has gone astray before deleting it. Thank you
for your co-operation.
***************************************************************************
---------------------------------------------------------------------
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]