sequence of javascript tag
Posted: Fri Jun 19, 2009 4:37 pm
I just want to know if the following sequence of javascript code is possible.If possible what are the drawbacks and what are the considerations I should remember.
Code: Select all
<script type="text/javascript" src="someFile.js"></script>
<script type="text/javascript">
// code goes here
</script>
<script type="text/javascript" src="anotherFile.js"></script>
<script type="text/javascript" src="anotherFile.js"></script>
<script type="text/javascript">
// code goes here
</script>