jquery / codeorigin.jquery.com

jQuery CDN
https://releases.jquery.com
Other
57 stars 602 forks source link

jquery 3.2.1.slim.min.js breaks ajax load function definition #31

Closed GuillaumeCR closed 7 years ago

GuillaumeCR commented 7 years ago

When referencing http://code.jquery.com/jquery-3.2.1.slim.min.js I get an error about undefined .load() function. Referencing http://code.jquery.com/jquery-3.2.1.min.js instead fixes the issue.

$(document).ready(function() { $('#test').load('doesntmatter'); });

Uncaught TypeError: $(...).load is not a function

StackOverflow question showing minimal example.

GuillaumeCR commented 7 years ago

Of course, reading up on what .slim is immediately explained why this happens.