PDA

View Full Version : Can I have problems loading all ExtJS scripts inside the BODY tag?



pret
17 Mar 2011, 6:53 AM
Hi,

I was wondering what kind of problems could I have if I put every script tag just before the </body> tag. I want to do this so I can make a loading div informing the user which JS modules he's downloading. If I put every script in the HEAD, I can't do this and the loading div shows just after every script is downloaded.

Could I have problems putting all scripts before the </body>?


Thanks!

17 Mar 2011, 1:41 PM
I'm not an expert, but i think that you shouldn't have problems if you use del Ext.onReady(). I'm working in a application and I have the script inside a div and until now everything is working fine.

pret
18 Mar 2011, 10:24 AM
Yes, I use Ext.onReady. Everything is working as expected. I was asking just to be sure :)


Thanks for your answer!

18 Mar 2011, 1:09 PM
ok I'm happy to help you