Script Error in jquery draagable in IE Quirks Mode

246 Views Asked by At

I am working on Jquery Draggable. Everything is working fine is ,but except the page is flickering a lot in IE Quricks mode. Does any one faced this issue before or is it is a problem with jQuery UI itself. What could be the root cause for this

Please find the fiddle URL

enter code herehttp://jsfiddle.net/68k5h/5/

1

There are 1 best solutions below

0
On

Very simply: neither jQuery nor jQueryUI are designed to work in Quirks Mode.

So the solution is to should make sure that the page is not in quirks mode.

You can do this by doing the following:

  1. Add a valid doctype to the top of your page. This can be any valid doctype, but if you're not sure which one to use, try this one:

    <!DOCTYPE html>
    

    Make sure that is the very first line of code, before the <html> tag.

  2. That will solve the problem most of the time, but if you are still in quirks mode, check with the W3C Validator for any other HTML errors you may have, and fix them.