Skip to content

conflicts with jquery ui #5119

leo-zhao opened this Issue Oct 3, 2012 · 4 comments

3 participants

leo-zhao commented Oct 3, 2012

Hi ,

I am using Jquery mobile and some components of jquery UI together.
After upgrade to Jquery mobile 1.2 from 1.1.1, the page display blank and with js error on the page.

At jquery mobile source code line 568,

this.options = $.widget.extend( {},
options );

caused the problem, can we used some alternative code for this line, so this line can't be overwritten by Jquery UI.
If I remove this line the error is gone, but the interface lose jquery mobile styles eg. UL Li styles display wrongly.

The js error is Uncaught TypeError: Object function .... has no method 'extend'


jQuery Foundation member

See #4805. Did you already try loading jQuery UI before jQuery Mobile?

leo-zhao commented Oct 3, 2012

Yes, that is what I tried at first place, load UI before jquery mobile, then the error is gone, then the jquery mobile page displayed. Then the problem is that Jquery UI functions I am using not working, cause jquery mobile overwrite the widget I think.

jQuery Foundation member
agcolom commented Mar 19, 2013

@leo-zhao are you still experiencing this issue? If you are, could you please provide a test page? Thanks

jQuery Foundation member

Closing as duplicate of #4805 (which has been closed as fixed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.