philliptune
11-13-2005, 05:51 PM
Man, this is frustrating me. I'm trying to use a randomizer script on some content with sub-defined attributes. e.g.: var="<tag attribute="document.image['title'].src='../img.jpg';">"
I've tried many things to clear up the "quote within a quote" problem. I've tried making (") its own variable:
dim quot=' " '
var="<tag attribute=" & quot & "document.image...>"
..but no.. it doesn't write it correctly and the script never even gets off the ground.
My question: is there a way to create a variable value that has both double and single quotes? Should show you the full script so you get the idea of what I'm wanting to do? Please help!!
I've tried many things to clear up the "quote within a quote" problem. I've tried making (") its own variable:
dim quot=' " '
var="<tag attribute=" & quot & "document.image...>"
..but no.. it doesn't write it correctly and the script never even gets off the ground.
My question: is there a way to create a variable value that has both double and single quotes? Should show you the full script so you get the idea of what I'm wanting to do? Please help!!