Skip to content
Advertisement

Tag: slim-jquery

JQuery issue “TypeError: $.getJSON is not a function”

I’ve got this piece of code: localhost:5000 is a flask/python script that returns a json like: And I’m getting: Any tips where I can start untangling the whoolball? Thanks! Edit: HTML: lib/main.js is where the document.ready is located. Thanks! Answer You seem to be using slim version of jquery which does not have the method getJSON thats why you are

Advertisement