in reply to jQuery and Perl
Perhaps you should re read the jQuery documentation. You can't just drop Perl code into a JavaScript framework and expect it to do anything other than fail. What you want is to use jQuery (see $.get and Ajax documentation for examples) to communicate with your backend CGI scripts/application (your Perl code querying Oracle via DBI) and do whatever you see fit to the DOM with/depending on the results.
"Should I be using static HTML pages with embedded js/css/Perl, or using a Perl script with js/css inside?"
I use HTML::Template to separate my HTML/jQuery code from my Perl code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: jQuery and Perl
by sierpinski (Chaplain) on May 27, 2010 at 14:40 UTC | |
by marto (Cardinal) on May 27, 2010 at 14:48 UTC | |
by sierpinski (Chaplain) on May 27, 2010 at 16:14 UTC | |
by Anonymous Monk on May 27, 2010 at 14:51 UTC | |
by Corion (Patriarch) on May 27, 2010 at 14:54 UTC |