This post shows how to do multi line strings with Javascript. Please note that it is likely the method presented here is not part of the Javascript/ECMA standard but it does work (and has been tested by me) in Internet Explorer 6 to 8, Firefox 1 to 3 and the current releases of Opera, Safari and Chrome.
Related Submissions:
- CSS And HTML Two Level Menus Take Two I ended the first part of this two part series with a working two level drop down and fly out menu using CSS and HTML....
- jQuery.html5form HTML5 validates forms without additional JavaScript. Currently only Safari & Google Chrome supports this functionality. This plugin gets the same result in Firefox & Internet...
- Using Ellipsis with HTML and CSS If the text is too wide to fit into a container, a nice solution can be to have ellipsis to show there’s more information available....
- Performance Comparison of Major Web Browsers The latest versions of the five major most web browsers Mozilla Firefox 3.5, Google Chrome 3.0, Microsoft Internet Explorer 8.0, Opera 10.0, and Apple Safari...
- CSS3 Techniques You Should Know Many of you have probably heard all the buzz around CSS3, but exactly which techniques can we use today? In this article I’ll show you...