I was thinking about the jQuery $(document).ready event and it occurs to me that I’ve never seen anyone apply it on anything other than $(document). Is there any other legitimate use for it?
I was thinking about the jQuery $(document).ready event and it occurs to me that
Share
From the jQuery documentation:
They all do the same:
Source: http://api.jquery.com/ready/