我在我的網頁的頭標中引用了許多js文件。有沒有辦法將它們全部放在一個文件(js或aspx)中,並引用該文件而不是引用所有文件?而不是下面的東西。因爲我不能將所有js文件在一個文件中的每個文件都有自己的目的在一個文件中添加所有js文件
<script src="Scripts/js1.js"></script>
<script src="Scripts/js2.js"></script>
<script src="Scripts/js3.js"></script>
<script src="Scripts/js4.js"></script>
<script src="Scripts/js5.js"></script>
<script src="Scripts/js6.js"></script>
<script src="Scripts/js7.js"></script>
<script src="Scripts/js8.js"></script>
<script src="Scripts/js9.js"></script>
<script src="Scripts/js10.js"></script>
<script src="Scripts/js11.js"></script>
<script src="Scripts/js12.js"></script>
<script src="Scripts/js13.js"></script>
<script src="Scripts/js14.js"></script>
<script src="Scripts/js16.js"></script>
<script src="Scripts/js17.js"></script>
<script src="Scripts/js15.js"></script>
<script src="Scripts/js18.js"></script>
<script src="Scripts/js19.js"></script>
<script src="Scripts/js20.js"></script>
<script src="Scripts/js23.js"></script>
<script src="Scripts/js24.js"></script>
<script src="Scripts/js25.js"></script>
<script src="Scripts/js26.js"></script>