locked
IE and Chrome crash in comments with string "</script> RRS feed

  • Question

  • this line in javascript function crash :

    // ...  </script>

    or

    /* </script> */

    Thursday, March 17, 2016 11:21 PM

All replies

  • this is the script tag, you cannot comment it like this, if you are using ASP.Net use the server side commenting tags

    <%-- -

    <script>

    </script>

    --%>

     , otherwise, you can comment all the code in between <script> and </script>

    <script>

    /*

    JS Code

    */

    </script>


    Technical Manager .Net and SharePoint Specialized Technical Services.


    Sunday, June 5, 2016 1:20 PM