-2

What are the differences between JavaScript's window.load and JQuery's $(document).ready() method? I need a function when open the page first check JavaScript means cookies then load the HTML or body?

AstroCB
  • 12,101
  • 20
  • 56
  • 70
user3220457
  • 41
  • 1
  • 7

1 Answers1

1

+1 to @Marciano's comment adding the network waterfall for visual depiction. network waterfall for visual depiction

Sarbbottam
  • 5,150
  • 3
  • 27
  • 39