How do I write a variable over multiple lines? | FAQ JavaScript | JavaScript | centre-equestre-lepuy.com ..


Sponsored Links

How do I write a variable over multiple lines?

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);



In the same category ...
E-Learning
CSS (Course) CSS (Course)
Web Design and Accessibility according to W3C CSS and XHTML. Starting from 29 €.
HTML (Course) HTML (Course)
The markup language for the Web from 29 €.
Javascript (Course) Javascript (Course)
Complete guide to client-side scripting. From 39 €.
Sponsored Links