Using .append() method, but page won't Validate
On my portfolio site, I use the .append() method quite a bit, but I'm running into a problem with Validation.
for example:
the jQuery...
- $("#emptyDIV").append('<p>Stuff to append</p>');
and the html
- <body>
<div id="emptyDIV"></div>
- </body>
But the validator is coming back saying that I can't use either the < > or p tags and my page won't validate. I've tried using the < and > alternative, but then the p tag isn't honored when appended to the #emptyDIV
http://www.clintmilner.com is my page, and here are the results from W3C
Many thanks,
Clint