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

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

Closed
GuillaumeCR opened this issue Sep 1, 2017 · 1 comment
Closed

Comments

@GuillaumeCR
Copy link

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
Copy link
Author

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

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