HI,
I have a very annoying problem - I have 2 external js file - script1.js and script2.js.
script2.js depends on script1.js being executed 1st. So, in the relevant jsp I have:
<html>
...
<script src="script1.js "></script>
<script src="script2.js "></script>
....
</html>
Usually it works fine.
However, from time to time, for some reason, script2.js is executed before script1.js, and of course this causes an error.
I'm working with IE7/8. Both show the problem ,but IE8 does it much more often.
Has anyone ever encountered this problem ? is there a way to force the order ?
Thanks, Ofer.
I have a very annoying problem - I have 2 external js file - script1.js and script2.js.
script2.js depends on script1.js being executed 1st. So, in the relevant jsp I have:
<html>
...
<script src="script1.js "></script>
<script src="script2.js "></script>
....
</html>
Usually it works fine.
However, from time to time, for some reason, script2.js is executed before script1.js, and of course this causes an error.
I'm working with IE7/8. Both show the problem ,but IE8 does it much more often.
Has anyone ever encountered this problem ? is there a way to force the order ?
Thanks, Ofer.
Comment