上一页 1 ··· 10 11 12 13 14

2015年7月7日

摘要: 表单验证不再发愁,http://validform.rjboy.cn/ 阅读全文
posted @ 2015-07-07 15:00 舞纷菲 阅读(140) 评论(0) 推荐(0) 编辑
 
摘要: JS限制Textarea文本域字符个数您还可以输入:个字符 阅读全文
posted @ 2015-07-07 14:59 舞纷菲 阅读(385) 评论(0) 推荐(0) 编辑
 
摘要: js如何把字符串转换成json数据的方法function strtojson(str){ var json = eval('(' + str + ')'); return json; }方法二function strtojson(str){ var json = (new function("ret... 阅读全文
posted @ 2015-07-07 14:58 舞纷菲 阅读(943) 评论(0) 推荐(0) 编辑
 
摘要: 程序未改变变量的值前新增全局变量:var oldDivValue = document.getElementById("divid").innerHTML;程序在改变变量值后执行判断:if(document.getElementById("divid").innerHTML != oldDivVal... 阅读全文
posted @ 2015-07-07 14:57 舞纷菲 阅读(3641) 评论(0) 推荐(0) 编辑
 
摘要: [转]window.opener用法window.opener 实际上就是通过window.open打开的窗体的父窗体。比如在父窗体parentForm里面 通过 window.open("subForm.html"),那么在subform.html中 window.opener就代表parentF... 阅读全文
posted @ 2015-07-07 14:56 舞纷菲 阅读(432) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14