Archive for the ‘JavaScript’ Category

Multiline JavaScript Tip:

Ever wanted to have multi-line strings in JavaScript? Ever been sitting there putting html into javascript and having finish out each like with a “+. Well here is a way to perform the the return line without any breaking quote. A continuous string across spanning multiple lines. The simple answer is escape the end of the line with a backslash \ this will cause JavaScript to look for the char to escape and allow you to have clean looking HTML in JavaScipt without quotes.