微小而幸福与满足着
关关难过关关过,夜夜难熬夜夜熬,悲喜自渡,他人难悟,冷暖自知,默默自愈。javascript让iframe自适应高度
javascript让iframe自适应高度<script language="javascript"><!--function SetWinHeight(obj){var win=obj;if (document.getElementById){if (win && !window.opera){if (win.contentDocument &&...
javascript让按钮倒计时10秒以后才能提交
javascript让按钮倒计时10秒以后才能提交<script language=javascript>function countDown(secs,surl){//alert(surl);tiao.innerText=secs;if(--secs>0){setTimeout("countDown("+secs+",'"+surl+"')",1000);...
javascript弹出层效果
javascript弹出层效果<script language="javascript">function getEvent() //同时兼容ie和ff的写法{if(document.all) return window.event;func=getEvent.caller;while(func!=null){var arg0=func.arguments[0];if(arg...
javascript全选全不选代码
javascript全选全不选代码<script language=javascript>function unselectall(){if(document.myform.chkAll.checked){documentdocument.myform.chkAll.checked = document.myform.chkAll.checked&0;}}function...
textarea显示剩余字数
textarea 显示剩余字数<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="robots" content="all" /><meta name="author" content="" />&l...