![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Simple example of CGI (Perl) + HTML + CSS + Javascript/jQuery + Ajaxby rnewsham (Curate) |
on Aug 25, 2013 at 08:31 UTC ( #1050853=note: print w/replies, xml ) | Need Help?? |
I like your example but I think some people may get a little confused by the amount it does. I have taken your idea and created a very basic example. It does not do anything as interesting but it does show how a simple jquery ajax call can be used with perl. The example consists of two files the cgi and the template. The template contains a jquery function to post a number to the cgi. The cgi will return a json formatted result which jquery will place in a div. simple.cgi
simple.tmpl
In Section
Cool Uses for Perl
|
|