摘要:
var a = "asdfghjkl" alert(a.substr(1, 3)); // 从下标为1开始,往右数3个长度的数, 显示 sdf; alert(a.substring(1, 3)); // 从下标为1开始,到下标为3结束(左闭右开), 显示 sd; alert(a.indexOf("s 阅读全文
posted @ 2017-09-20 16:58
雪wolf
阅读(425)
评论(0)
推荐(0)
摘要:
function getRowObj(obj) { while(obj.tagName.toLowerCase()!="tr") // toLowerCase转化小写 { obj=obj.parentNode; } // 得到父节点 return obj; } function sc(obj) // 阅读全文
posted @ 2017-09-20 15:49
雪wolf
阅读(501)
评论(0)
推荐(0)
摘要:
<link rel="shortcut icon" href="1.ico"> href="图片名字.ico"; 图片后缀名为: .ico 阅读全文
posted @ 2017-09-20 15:38
雪wolf
阅读(489)
评论(0)
推荐(0)

浙公网安备 33010602011771号