DiLDoG
01-07-2003, 12:15 PM
How do I sore the char '\' in a string like
var foo = "C:\>blaat";?
it seems it skips the / normally
var foo = "C:\>blaat";?
it seems it skips the / normally
|
Click to See Complete Forum and Search --> : String DiLDoG 01-07-2003, 12:15 PM How do I sore the char '\' in a string like var foo = "C:\>blaat";? it seems it skips the / normally pyro 01-07-2003, 12:17 PM Try this var foo = "C:\\>blaat"; Use the \ to let the script know another \ is coming... DiLDoG 01-07-2003, 03:55 PM why does setTimeout("document.all.text.innerHTML += '\\\';", timer); not work than pyro 01-07-2003, 04:26 PM Post the rest of your code DiLDoG 01-07-2003, 04:28 PM fixed it already: setTimeout("document.all.text.innerHTML += '\\\\\';", timer); webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |