A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
JS function with 'defer'...
Joined: Oct 11, 2004
Jun 19, 2006 01:12:00
What exactly the 'defer' is?
I have heard two things about it:
1. The JS function with 'defer' is called at the end, after completion of the whole document (page).
2. Browser doesn't wait for completion of JS function with 'defer'. It continues the execution of rest of the things. Not clear, how it happens? (threading???)
Please clear my doubt.
Joined: Nov 08, 2001
Jun 19, 2006 06:09:00
Not sure why anyone would use it, but scroll to the bottom of this ro read the whole thing:
I agree. Here's the link:
subject: JS function with 'defer'...
Secure mode - insecure mode browser notification
Disable an image anchor
how to get reset to work after form submit in JSP?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014