2 Replies Latest reply on Apr 6, 2010 9:35 AM by martincou

    HTML Tags within Javascript Errors

    martincou Level 3

      Hi,

       

      Is there a way to insert html tags (<b>Bold Text Here</b>), inside a javascript string in the <script> tag, without any Validation errors? I read to put a backslash at the beginning of each html tags to prevent the string from being parsed as markup (<\b>Bold Text Here<\/b>). Errors goes away, but bold texts too !

       

      Anyone can help me on this one ... I'm not a javascript Guru ...

       

      Thanks !