Search code examples
jqueryjquery-ui-dialog

using multiple jquery-ui versions


We have two sites using jQuery UI and one of the sites includes some pieces from the other site. Those pieces are build on Jquery UI Accordion but I can't get both versions of the UI to load. One is a custom build of 1.8.11 the other is a full version (the full won't load)

any suggestions?


Solution

  • Please read the documentation on JQUERY UI. You cannot use two versions of the UI without specifying a CONTEXT for each one.

    This allows you to use multiple UIs on one page for example.

    The bad news is that once the file has been generated you cannot then add the context afterwards.

    I'm not sure but I think in the javascript files assciated with the UI there is a link that will take you to the JQUERY UI build page, and there you can regenerate the UI with a context.