|
-
Apr 2nd, 2004, 04:02 PM
#1
JavaScript: printing " [Resolved]
I have some problems here....I am using a costum toolbar, so I should probably ask them. But will test you guys first....
On a line like this I am writing the name of a link, and where it shold point to:
SI("musikk_vinyl.htm","12 anmeldelser","");
In the name field it should say 12" anmeldelser. But I can't write an " in the field then everything gets screwed up. What should I write to get an " in JS?
And an other thing is that it doesn't handel Norwegian letters...anyone got an idea about this. My home page is using UTF-8, and in works in the HTML but not in the JS....
Last edited by NoteMe; Apr 2nd, 2004 at 06:28 PM.
-
Apr 2nd, 2004, 04:04 PM
#2
Hmmm....looks like I can get an å if I write
å
hmmm....nice..
-
Apr 2nd, 2004, 04:10 PM
#3
Frenzied Member
Code:
a = "The following word will have speech marks around it: \"NoteMe\""
document.write(a)
basically \" will insert a " into the string.
Have I helped you? Please Rate my posts. 
-
Apr 2nd, 2004, 06:28 PM
#4
I was trying that....but I must have used / in stead of \.... ...thanks...a bit to tired here I think...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|