[thelist] javascript pop-up problem

Jeremy Ashcraft ashcraft at 13monkeys.com
Mon Jul 23 18:34:02 CDT 2001


lines of code in Javascript need to physically be on the same line, oherwise 
they'll puke out the error you got.  I iamgine when you copied the code over, 
the wrap from the email broke the single line up.  just make sure each line 
of code doesn't wrap.
HTH

And to throw my hat in the ring.....
I like to use <a href="javascript: void(0);" onClick="............">

When calling JS functions from links and buttons(wouldn't plain "javascript:" 
pop open the JS debug window in NN4?)


> However, when I tested it I get a JS error that says "unterminated string
> constant." Perhaps I didn't copy it over correctly?




More information about the thelist mailing list