js 文件引用传递参数
2024-08-26 22:12:27
每天学习一点点 编程PDF电子书免费下载: http://www.shitanlife.com/code
(function() {
var hm = document.createElement("script");
hm.setAttribute("src", "/manager/js/sta-tw.js");
hm.setAttribute("id", "staScript");
hm.setAttribute("appid", appId);
hm.setAttribute("userid", userId);
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<!-- <script id="staScript" type="text/javascript" src="/manager/js/sta-tw.js" userid="" appid="3"></script> -->
==============================================================================================
var appId = document.getElementById('staScript').getAttribute('appid');
var userId = document.getElementById('staScript').getAttribute('userid');
alert(appId)
每天学习一点点 编程PDF电子书免费下载: http://www.shitanlife.com/code
最新文章
- BZOJ 1031: [JSOI2007]字符加密Cipher 后缀数组
- PyMySQL Evaluation
- CMMI能搭救企业吗?
- KVC与KVO
- day5 -指针
- Volley框架之网络请求和图片加载
- linux svn服务器搭建、客户端操作、备份与恢复
- 索引查找(索引查找、分块查找) C语言实现
- asp生命周期
- 路径中“/” ";\"; ";\\";的区别
- hadoop集群的搭建与配置(2)
- 其他信息: ORA-01400: 无法将 NULL 插入
- 项目中遇到angular时间插件datetinepicker汉化问题
- openv
- Houdini技术体系 基础管线(一) : Houdini与Houdini Engine的安装
- C# DataGridview控件自动下拉到最后一行
- 洛谷.3803.[模板]多项式乘法(FFT)
- 大白菜装机版一键制作启动u盘教程
- (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
- 自定义界面上绘制Text,可通过拖动控制文字大小及其位置
热门文章
- JS中将变量转为字符串
- angular post 带参数 导出excel
- leetcode-14最长公共前缀
- (后台)SQL Server 数据库定时自动备份(转)
- php post接口,登录功能
- 【JS基础】类型转换——不同数据类型比较
- SQL server 导出平面文件时出错: The code page on Destination - 3_txt.Inputs[Flat File Destination Input].Columns[UserId] is 936 and is required to be 1252.
- ORA-01440: column to be modified must be empty to decrease precision or scale
- [20190319]shared pool latch与library cache latch的简单探究.txt
- [20181109]12c sqlplus rowprefetch参数5