mainpage.html include below code:
Code:
 
new Ext.Panel({          autoLoad : {
        url : "main.html",
        nocache : true,
        scripts : true
       }
      })
and main.html

<script type="text/javascript" src="main.js">
</script>

and main.js has a Ext.onReady() method, and some components rendered to mainpage's panel.

when there's only one <scritp> marks in main.html, It works in FF and IE8.

if main.html like this:
<script type="text/javascript" src="main1.js">
</script>
<script type="text/javascript" src="main2.js">
</script>

and main2.js use a component created in main1.js, It will give an erorr at first run with IE, like " component not found ".
and it works after refreshed the page.

It works perfectly in FF.

any one help me?