Skip to content

use of obsolete function: $( window ).load( #728

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

Closed
steveja42 opened this issue Oct 5, 2016 · 1 comment
Closed

use of obsolete function: $( window ).load( #728

steveja42 opened this issue Oct 5, 2016 · 1 comment

Comments

@steveja42
Copy link

steveja42 commented Oct 5, 2016

The example code on http://learn.jquery.com/using-jquery-core/document-ready/ doesn't work with current jquery 3.3 because it uses $( window ).load(function()
which has evidently been changed to $( window ).on('load', function()

@steveja42 steveja42 changed the title use of removed function: $( window ).load( use of obsolete function: $( window ).load( Oct 5, 2016
hcgernhardtiii added a commit to hcgernhardtiii/learn.jquery.com that referenced this issue Nov 16, 2016
Removes all references to the obsolete .load() method and replaces them
with the appropriate .on( "load", function() { ... } ) reference.

fixes jquery#728
@Krinkle
Copy link
Member

Krinkle commented Mar 26, 2023

Fixed in #736.

@Krinkle Krinkle closed this as completed Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants