|
|
Q1116 Why is it not a good idea to have strings beyond 255 characters?
irt.org | Knowledge Base | JavaScript | Text | Q1116 [ previous next ] Q1116 Why is it not a good idea to have strings beyond 255 characters?This is true for older browsers only, that could not cope with long text strings, although it makes no difference in newer, it never hurts to code defensively. Netscape Navigator 4 will slow down considerably if you document.write all strings. I always code strings like this - for readability and to avoid any potential string overflow:
|
-- div -->
|