Thank you so much for taking the time to reply. "You say you use the CGI module. Read the documentation of its header( +) method." I just went though it and I understand you can use these predefinted f +unctions to generate the header and footer info. Should I assume tha +t is a much more preferrable way to do it rather than, "print "<html> +<head></head><body>blah, blah...."; ? "The usage instructions for most Perl modules are embedded into the mo +dule, use http://search.cpan.org/ or the perldoc utility to read them +. " The problem is that since I'm just a newbie, I have a hard time unders +tanding what I'm reading. For example, I tried to read about the Jav +aScript::DataFormValidator but didn't really understand how to use it + in my program. "Placing huge loads of javascript into a variable in a module may seem + tempting, but consider placing the javascript into an external javas +cript file, and have the web server deliver it directly. Delivering c +ontent from a CGI script is SLOOOOOOOOOOOOOW. " I actually had an external JavaScript file I was using, but my main is +sue is that I'm unable to utilize it within my Perl file. When I hit + the submit button, my Javascript validation is not working (nothing +happens - should be an alert). What exactly do you mean by "Deliveri +ng content from a CGI script..." Thanks again for the help!
In reply to Re^4: Perl - calling javascript funciton
by ax1lla
in thread Perl - calling javascript funciton
by ax1lla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |