Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with jQuery 1.6.4 #10

Open
jensoppermann opened this issue Oct 24, 2011 · 3 comments
Open

Error with jQuery 1.6.4 #10

jensoppermann opened this issue Oct 24, 2011 · 3 comments

Comments

@jensoppermann
Copy link

Got an error in jQuery.js

"a.isResolved is not a function"

With 1.4.2a everything is fine.

@sekoyo
Copy link

sekoyo commented Mar 9, 2012

I have the same issue - any updates? (using jquery 1.7.1)

@jensoppermann
Copy link
Author

No.

But i solved it for my part.

At the top of document i use a newer version of jQuery globally.

Later in the document i switch to the older version like this:

<script src="jquery.142a.js" type="text/javascript"></script>
<script src="jquery.xdomainajax.js" type="text/javascript"></script>
<script>
  //<![CDATA[
    $(document).ready(function() {
      $("#mycontainer").load("http://www.somedomain.de #somecontainer", function(response, status, xhr) {
      if (status == "success") {
         // do the kung fu
        }
      if (status == "error") {
        var msg = "Sorry but there was an error: ";
        $(".page_content").html(msg + xhr.status + " " + xhr.statusText);
      }
      });
    });
  //]]>
</script>

I hope this could work for you too.

@nelsonic
Copy link

June 2012 Update: Still not fixed in JQuery 1.7.2 :-(
But works with v.1.4.2 http://code.jquery.com/jquery-1.4.2.min.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants