[Javascript] Escape Javascript?
ant+news
ant+news at ed.ac.uk
Tue Mar 30 09:29:41 CST 2004
hello,
I am basically trying to make a bookmarklet, which does a
createElement('Div'), and has within it a link which will create a new
window and write some html into it. If i linkify the bookmarklet,
everything works fine, but add to favorites and it fails if there is any
html markup (from debugging angle brackets seem to be the problem). Since
javascript is writing javascript which will write html you'll see a lot of
&lt markup.
Rather than cut and paste a thousand or so chars on a single line, or
attach a file (not sure if this ius allowed). The precise information is
located here http://www.antsite.co.uk/jscript.html
it looks pretty boring, but it's a light debugging version. If anyone has
any ideas i'd love to hear from you!!
cheers
ant
--
Pizza makes you thin
Web http://antsite.co.uk
Fax 0870 8315126
More information about the Javascript
mailing list