js文件引入

js文件内引用js文件使用

document.write("<script language='javascript' src='scripts/lang/chs.js'></script>");

并且chs.js 中的 <script>   </script>开头标记可以省略不写

// 窗口定位 this 当前元素  ,$(this),当前元素的jquery 封装,this.value=$(this).value()
location.href='device_templates.php?TemplateID='+this.value;
原文地址:https://www.cnblogs.com/hehexu/p/8391005.html