javascript常用语法糖,datatables初始化
06 November 2022
javascript常用语法
javascript\JQ
Cookie设置与读取
##JS常用语法
#每次启动都动态加载js文件
#获取屏幕宽度
#修改iframe的src链接并立即重载
#js显示隐藏控件标签
#js/JQ移除标签元素
#js重定向网页加随机参数
#js/ajax跨域访问callback,jsonP
#Js/JQ/ajax查询BTC价格例子,Json解析,json转string,string转json
#js/switch函数
#js查询域名对应IP,域名解析,类似于ping,其中有forEach循环函数用于多层json解析
#js弹出浮窗信息后自动关闭
##Datatables 表单配置
#html格式
#js/初始化columns: headtittle 普通初始化
#js初始化columns: headtittle修改表内样式