hehexu

博客园 首页 新随笔 联系 订阅 管理

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;
posted on 2018-01-31 10:35  hehexu  阅读(155)  评论(0编辑  收藏  举报