![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JS问题
橙子和栗子
盼能与您一起探讨不解
展开
-
关于用juery来隐藏标签以及添加样式等
用juery来添加或者改变为隐藏标签原创 2016-09-14 15:56:14 · 345 阅读 · 0 评论 -
JS中的spllit()分隔字符串和JAVA中的split分隔字符窜
var strNum = "a,b,c,d,";var newstr=strNum.substring(0,strNum.length-1);//去除最后一个逗号(注:java的split和js的split的用法不一样) var str1 = newstr.split(","); //分隔字符串 这是在js中的写法,写出来结果为,str1数组的长度为4, 如果不去除最后一个逗号,直接用spli原创 2016-09-29 14:41:53 · 2281 阅读 · 0 评论 -
关于初用window.open和window.showModalDialog使用的区别
window.open: window.open是非阻态窗口,也叫非模态窗口,也就是说当你打开window.open这个子窗口后,还可以切换去操作父窗口。 一般的格式是这样的: window.open('page.html', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scroll原创 2016-09-29 14:52:29 · 4439 阅读 · 0 评论