|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Are all the escape characters needed?
Are all the escape '\' characters necessary when creating an HTML table using javascript? I've got <\/tr> and <\/td> all over and the code is pretty much unreadable as is even without them. Are they really needed?
I've noticed that when I use a document.write command, it doesn't let me break the line up on separate lines like it shows in my Visual Quickstart Guide for Javascript. Looks really nasty - is this true also? |
|
#2
|
||||
|
||||
|
I'm pretty sure you don't need to escape front slashes. As far as breaking the lines up, no, you can't split a document.write() across multiple lines. And as far as the book goes... I tried to learn JavaScript way back when using a Visual Quick Start... it was horrible... some friendly advice you can take or leave: you should try a different book.
|
|
#3
|
|||
|
|||
|
Right on, CTB! I posted in another thread about how using that book gave me headaches! Thanks.
|
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Are all the escape characters needed? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|