pnj
Oct 4th, 2000, 01:32 PM
hey,
I am just curious......
I am writing to the status bar and would like to use a
single quote like "joe's coffee"
but when I do, javascript sees the single quote in joe's name and gets confused about [s coffee].
here is my code
*********************
<a href="" onMouseover="(document.bgColor='#333333'); (window.status='joe's coffe') ; return true ;" onMouseout="(document.bgColor='#cccccc'); (window.status=''); ")>Boo</a>
**********************
if this is possible let me know how.
if not no biggie.
if I confused you let me know and I'll try and re-word my question.
thanks
I am just curious......
I am writing to the status bar and would like to use a
single quote like "joe's coffee"
but when I do, javascript sees the single quote in joe's name and gets confused about [s coffee].
here is my code
*********************
<a href="" onMouseover="(document.bgColor='#333333'); (window.status='joe's coffe') ; return true ;" onMouseout="(document.bgColor='#cccccc'); (window.status=''); ")>Boo</a>
**********************
if this is possible let me know how.
if not no biggie.
if I confused you let me know and I'll try and re-word my question.
thanks