troubleshooting Question

Jquery Conflict

Avatar of BrighteyesDesign
BrighteyesDesignFlag for Afghanistan asked on
JavaScriptJScript
4 Comments1 Solution507 ViewsLast Modified:
I am trying to implement two functions on my page.

A calendar picker using jquery-1.5.1.js and a product zoomer using RbZoom.js

When the calls to the scripts are like this...

 <script type="text/javascript" src="js/RbZoom.js"></script>
<script src="calendar/jquery-1.5.1.js"></script>

only the calendar works and the other way round just the zoomer works.

How can I get both of these working?

After deleting sections from jquery1.5.1 I know that's it's ..

function createStandardXHR() {
      try {
            return new window.XMLHttpRequest();
      } catch( e ) {}
}

That's causing the conflict. When this is deleted the zoomer shows (but then of course the calendar picker does not)

I have attached the js for the zoomer in case that helps
ASKER CERTIFIED SOLUTION
leakim971
Multitechnician
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros