I have a JS function that does some document.writes... I want to be able to offer a link as well, whats JS equivilent for "


example

document.write(" <a href=" donkey.html" > moo </a> ")

wont work for obvious reasons, I think I need something along the lines of

document.write(" <a href=&JSQuote donkey.html &JSQuote > moo </a> ")


Geddit?

thanks
Nit