Welcome to WebmasterWorld Guest from 54.163.68.15

Forum Moderators: open

Message Too Old, No Replies

Does Defer attribute works for js File Loading also

   
4:28 pm on Jul 24, 2003 (gmt 0)

10+ Year Member



Hi,

I am using the defer attribute for lots of script tags, the normal script tags seems to working fine, But i am not sure if this is working for script tags which are responsible for loading the javascript files also(havinf src attrib.

Can someone tell me, How can i check this>

regards,
Angrish

5:00 pm on Jul 24, 2003 (gmt 0)

WebmasterWorld Senior Member blobfisk is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Hey angrish,

If you put a (temporary) alert call at the top of your external JS files, you can see if they are loaded or not (the alert will pop up!).

HTH