-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,337
  • 20
  • 57
  • 73
user3220457
  • 43
  • 1
  • 7

1 Answers1

1

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

Sarbbottam
  • 5,410
  • 4
  • 30
  • 41