09 2016 档案

摘要:先来看一个简单的例子:下面以三个页面分别命名为frame.html、top.html、bottom.html为例来具体说明如何做。 frame.html 由上(top.html)下(bottom.html)两个页面组成,代码如下: <!DOCTYPE HTML PUBLIC "-//W3C//DTD 阅读全文
posted @ 2016-09-23 09:30 代码收集-ASP。JS代码 阅读(305) 评论(0) 推荐(0)
摘要:function checkbox(checknames) { var newstr=document.getElementsByName(checknames); var objarray=newstr.length; var chestr=""; for (nubi=0;nubi<objarray;nubi++) { if(newstr[nubi].checked == true) ... 阅读全文
posted @ 2016-09-14 16:12 代码收集-ASP。JS代码 阅读(462) 评论(1) 推荐(0)
摘要:动态删除select中的所有options: document.getElementById("ddlResourceType").options.length=0; 动态删除select中的某一项option: document.getElementById("ddlResourceType"). 阅读全文
posted @ 2016-09-10 10:27 代码收集-ASP。JS代码 阅读(510) 评论(0) 推荐(0)
摘要:document.getElementById("fs_user").value+=document.getElementById("select_S").options[document.getElementById("select_S").selectedIndex].value; 阅读全文
posted @ 2016-09-08 11:19 代码收集-ASP。JS代码 阅读(205) 评论(0) 推荐(0)