homepage Welcome to WebmasterWorld Guest from 54.198.33.96
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Does Defer attribute works for js File Loading also
angrish




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

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

 

BlobFisk




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved