, $(document).ready(..) DOMContentLoaded Load:
http://api.jquery.com/ready/
, $(document).load(..) DOM, , , (, ).
$(document).load(..) <script> JS , ? script.
Have you tried putting the global tag <script>at the bottom of the page and running it in two different scripts - once using only the function $(document).load(..)in it and again with the contents of the load function in the script instead. Is there a significant difference in JS effects between the two cases?
source
share