js相关
pzf00
这个作者很懒,什么都没留下…
展开
-
判断变量类型
[code="js"]function getType(o) {var _t; return ((_t = typeof(o)) == "object" ?Object.prototype.toString.call(o).slice(8,-1):_t).toLowerCase(); }[/code]原创 2011-05-02 17:03:42 · 95 阅读 · 0 评论 -
json入门文档
json入门文档原创 2011-05-16 12:06:16 · 98 阅读 · 0 评论 -
js打开新窗口之window.open()
window.open ('page.html', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no')page.html:要打开的页面newwindow:窗口名称,也可以为_sel...原创 2011-03-03 21:20:24 · 241 阅读 · 0 评论