Just a quick simple question. How do you concatinate a the double quote into a javascript string.
var strOne = "*This is an actual quote from somebody*"
where * = double quotes.
Printable View
Just a quick simple question. How do you concatinate a the double quote into a javascript string.
var strOne = "*This is an actual quote from somebody*"
where * = double quotes.
you could do:
Code:var strOne = '""This is an actual quote from somebody""'
Does JavaScript have an escape character?
If you alert myString it should give you...Code:var myString = "\"This is an actual \"quote\"\"";
Quote:
"This is an actual "quote""
thanks you two, I knew it was something simple like that. I just had a brain freeze