kuau
08-12-2009, 03:20 AM
I'm wondering if it is necessary for each script to repeat the script definition tags. For example, say you have 2 scripts in your head section right after each other, such as:
<script type="text/javascript" src="../js/filename1.js"></script>
<script type="text/javascript" src="../js/filename2.js"></script>
Could you combine them as follows:
<script type="text/javascript" src="../js/filename1.js"
src="../js/filename2.js"></script>
Or if that is not possible, could you take the text of filename2 and append it to the bottom of filename1 and then just have:
<script type="text/javascript" src="../js/filename1.js"></script>
Would it still work? Sorry for the dumb question. Thanks. :)
<script type="text/javascript" src="../js/filename1.js"></script>
<script type="text/javascript" src="../js/filename2.js"></script>
Could you combine them as follows:
<script type="text/javascript" src="../js/filename1.js"
src="../js/filename2.js"></script>
Or if that is not possible, could you take the text of filename2 and append it to the bottom of filename1 and then just have:
<script type="text/javascript" src="../js/filename1.js"></script>
Would it still work? Sorry for the dumb question. Thanks. :)