Re: xhtml+javascript. bug?

From: Peter K. Sheerin (pete@petesguide.com)
Date: Mon, Jun 11 2001

  • Next message: Liam Quinn: "Re: xhtml+javascript. bug?"

    Message-ID: <000b01c0f2cc$87a48450$9865fea9@cadencesheerin>
    From: "Peter K. Sheerin" <pete@petesguide.com>
    To: "Liam Quinn" <liam@htmlhelp.com>
    Cc: <www-validator@w3.org>
    Date: Mon, 11 Jun 2001 16:16:22 -0700
    Subject: Re: xhtml+javascript. bug?
    
    I had the same problem, but solved it using the combination of HTML and
    Javascript comment tags, as in:
    
    <!--
    js code
    //-->
    
    Can you explain the difference between why each one of these methods works,
    and if there are any problems with the one I used?
    
    Do I *really* need to use the CDATA marking?
    
    ----- Original Message -----
    From: "Liam Quinn" <liam@htmlhelp.com>
    >
    > It's your XHTML; see <http://www.w3.org/TR/xhtml1/#h-4.8>.
    >
    > --
    > Liam Quinn
    >
    >