Having at last had some success with something AJAX-based (the demo described in perl.com 'Using Ajax from Perl'), I now want to try and use AJAX in my web apps. It looks like the necessary modules are CGI::Ajax & CAP::HTMLPrototype.

My first rather lame attempt at putting AJAX inside a C::A app caused an error: 'No head/html tags, nowhere to insert. Returning javascript anyway'. Presumably because the headers were not getting out as I returned the template through build_html(). But even if the html *had* got displayed it probably wouldn't have worked as I didn't have any javascript associated with it. The problem is I don't have the first clue about javascript, and don't really know where to start.

Is it possible to implement AJAX without learning javascript? Are there any resources I could use to get going with CGI::Application? Finally has the CAP::Ajax project has been abandoned?

***************************************************************************
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]

Reply via email to