Skip to content

JQuery Error: Uncaught TypeError: Object # has no method ‘ready’

my site is getting the error in this title in the javascript console. Google seems to say that it is because jquery isn’t loaded, but it is definitely visible in the head.

<script type="text/javascript">
      type: "GET",
      url: "",
      dataType: "xml",
      success: function(xml) {
        $(xml).find("products").each(function() {
          $(this).find("product").each(function() {
            $("#output").append($(this).find("title").text() + "<br />");

the site is medical marijuana related, so nsfw for some.sorry for the messy head, it’s in dev mode.

Thanks, zeem



Apparently you are using both jQuery and Mootools and both of them do use $ as an alias to a core function. Probably the $ function which is generating this error is the Mootools function. I’d suggest you to try to write your jQuery code using jQuery instead of $ so you can confirm my point is right or not.

Good luck!

User contributions licensed under: CC BY-SA
4 People found this is helpful