[Javascript] syntax
Jens Brueckmann
jens.brueckmann at gmail.com
Fri Oct 12 06:07:07 CDT 2007
> No corresponding delimiters for opening quotation marks in: <a href=\'\'
> = where?
Have a look at the HREF attribute:
href=\'\'onmousedown=\'document.getElementById(\'TestL\').style.visibility=\'hidden\'\'
no eliminate corresponding delimiters \':
1. href=\'\'onmousedown=\'document.getElementById(\'TestL\').style.visibility=\'hidden\'\'
2. href=\'\'onmousedown=\'document.getElementById(\'TestL\').style.visibility=\'
3. href=\'\'onmousedown=\'document.getElementById().style.visibility=\'
4. href=\'\'onmousedown=
You see, the HREF attribute starts with surplus delimiters \'\', but
has no delimiter at its end.
Changing the attribute to:
href=\'onmousedown=\'document.getElementById(\'TestL\').style.visibility=\'hidden\'\'\'
fixes this error.
Cheers,
jens
--
Jens Brueckmann
http://www.yalf.de
More information about the Javascript
mailing list