Select to view content in your preferred language

Conflicting issues with JQuery and bootstrap

3437
4
Jump to solution
10-21-2015 04:45 PM
AlexGole
Deactivated User

Hi all, I am trying to use JQuery and bootstrap in my application but cant seem to make it work. I get: "Error: MultipleDefine". Any idea why? jsbin  is here.

Thanks,
Alex

0 Kudos
1 Solution

Accepted Solutions
thejuskambi
Frequent Contributor

Alex,

The jquery scripts should to added before adding the esri scripts. That should take care of the myultileDefine

error. I am not able to look further as I dont have all the js files. Hope you should be able to take care of it.

     <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>

    <script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>

    <script src="http://js.arcgis.com/3.14/"></script>

regards,

Theju

View solution in original post

4 Replies
thejuskambi
Frequent Contributor

Alex,

The jquery scripts should to added before adding the esri scripts. That should take care of the myultileDefine

error. I am not able to look further as I dont have all the js files. Hope you should be able to take care of it.

     <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>

    <script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>

    <script src="http://js.arcgis.com/3.14/"></script>

regards,

Theju

AlexGole
Deactivated User

Thanks! That was it.

0 Kudos
ChrisSmith7
Honored Contributor

On a related note, I recently ran into a scenario where I needed to use multiple versions of jQuery. If you ever run into this and experience issues, you can work around it by using noConflict:

https://api.jquery.com/jquery.noconflict/

Just thought I'd give this information in case anyone finds it helpful!

AlexGole
Deactivated User

It indeed can be helpful thanks for sharing!

0 Kudos