Output Symbol via JS

Discussion in 'JavaScript' started by alfman05302001, Feb 14, 2008.

  1. #1
    So I am trying to use JS to output a check mark.

    The section of code looks like:

    
    this.validMessage=B.validMessage||"Thank You!"
    Code (markup):
    I have tried all sorts of combinations and the following gets me the closets

    this.validMessage=B.validMessage|| <html><body> ✓ </body> </html>;
    Code (markup):
    but it outputs
    <html><body> ✓ </body> </html>

    I just want to output ✓

    Thanks for the help
    Jonathan
     
    alfman05302001, Feb 14, 2008 IP