[thelist] javascript in perl??

Anthony Baratta Anthony at Baratta.com
Fri Mar 30 23:58:28 CST 2001


One of the best aspects of using Netscape is the Javascript Console that 
assists with debugging. If you are getting javascript errors in the status 
bar or other funky things, try typing "javascript:" in the location area.

Your form is throwing the following error:

JavaScript Error:
http://aussiebidder.com/cgi-bin/dockets.pl?emailads, line
36:

unterminated string literal.

{missinginfo += "
................^

The reason is you need to escape your \n's.

e.g.

if (document.form.busname.value == "")
{missinginfo += "\\n     -  Business Name";}
---
Anthony Baratta
President
Keyboard Jockeys





More information about the thelist mailing list