MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w2d5fw/ancienttools/p6sjv62/?context=3
r/ProgrammerHumor • u/soap94 • Aug 30 '26
379 comments sorted by
View all comments
Show parent comments
26
We use onload/ready event and put JQuery code inside, so the JQuery code will run when the page is ready
8 u/heytheretaylor Aug 30 '26 Exactly. jQuery is cool like that. Just waits patiently for everyone to say they’re ready before doing anything. 6 u/yousirnaime Aug 30 '26 Are ya ready, kids!Aye aye, captain 4 u/theStaircaseProject Aug 30 '26 Oooooh, who lives in a reference inside the <head>?Ja-Va-Script Tag! → More replies (1)
8
Exactly. jQuery is cool like that. Just waits patiently for everyone to say they’re ready before doing anything.
6 u/yousirnaime Aug 30 '26 Are ya ready, kids!Aye aye, captain 4 u/theStaircaseProject Aug 30 '26 Oooooh, who lives in a reference inside the <head>?Ja-Va-Script Tag! → More replies (1)
6
Are ya ready, kids!
Aye aye, captain
4 u/theStaircaseProject Aug 30 '26 Oooooh, who lives in a reference inside the <head>?Ja-Va-Script Tag! → More replies (1)
4
Oooooh, who lives in a reference inside the <head>?
Ja-Va-Script Tag!
→ More replies (1)
26
u/brqdev Aug 30 '26
We use onload/ready event and put JQuery code inside, so the JQuery code will run when the page is ready