Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    I was not sure whare to post this as it has to do with two topics here. I am trying to generate an array with JavaScript. I would like to be able to have line breaks within the array items to separate the author from the comment. Here is an example of one commet in the array to give you an idea of the code.

    <script type="text/javascript">
    commentArray=new Array();
    commentArray[commentNum++]="What a great difference! Our new website is simply fabulous ! Cindy Freedman, Honesty House, Inc.";
    </script>

    XHTML Strict will not allow me to do it from what I have found so far hope you can help.
  2.  
    Nevermind I solved the issue by commenting out the part of the JavaScript with HTML comments.