View Single Post
  #1 (permalink)  
Old July 30th, 2006, 07:36 AM
bradrice bradrice is offline
Registered User
 
Join Date: Jul 2006
Location: Lodi, OH, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default XHTML with Doctype disables Drag and Drop

I don't have any trouble getting you code to work in any browser that I have, and that includes Firefox. What I do have a problem with is if I have a doctype declaration of an XHTML document, the scripts stop working. Even if I put //<![CDATA[ and //]]> around the script and get the file to validate, it doesn't work. If I take the doctype out of the document and save it as html, then the script works. I would like to use validating xhtml. Any thoughts on why the script isn't working in an XHTML document with a doctype would be appreciated.
Reply With Quote