摘要:
<6>登陆验证Js代码function checkLogin()
{ var xmlhttp;
if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); if(xmlhttp.overrideMimeType) {//设置MIME类别 xmlhttp.overrideMimeType("text/xml"); } }
else {// code for IE6, IE5 xmlhtt... 阅读全文
摘要:
以下是代码:extjs libriry 3.3.1/** * 人员基本信息查询Form */ //--------------------------Combobox MyComboBox=Ext.extend(Ext.form.ComboBox,{ fieldLabel:null, value:null, triggerAction:"all", displayField:"key", editable:false, name:null, id:null, url:null, ... 阅读全文
摘要:
注册时,在填写生日的时候,月份的天数会随着月份的改变而改变,这个小功能在很多的地方都用得到哦!<5>月份天数随月份改变PHP代码<select name="month" id="month" onchange="monthDays(this.value);"> //onchange事件
<?php
for($i=1;$i<=12;$i++) { echo "<option value=".$i.">"; echo $i; echo "&l 阅读全文