If you want to evaluate a variable with more content on-line you must use a syntax like this:
var text = 'blah blah blah'
+ 'Blah blah blah'
+ 'Blah blah blah!';
document.write (text);
| |
CSS (Course)
Web Design and Accessibility according to W3C CSS and XHTML. Starting from 29 €. |
| |
HTML (Course)
The markup language for the Web from 29 €. |
| |
Javascript (Course)
Complete guide to client-side scripting. From 39 €. |