W3C Markup Validation errors with jQuery

Posted by FFish on Stack Overflow See other posts from Stack Overflow or by FFish
Published on 2010-03-21T10:43:46Z Indexed on 2010/03/21 10:51 UTC
Read the original article Hit count: 418

Filed under:
|

Running a validation on my pages where I used jQuery gives me lots of errors.. I escaped the closing tags but keep getting errors.

<script type="text/javascript">
    $(document).ready(function() {
        $("#main").html('<p>hello world<\/p>'); 
    });
</script>

© Stack Overflow or respective owner

Related posts about w3c-validation

Related posts about jQuery