脚 本 之 家 www.jb51.net
页面导航:  不限条件-->是否
本地搜索:
其实做这个的原理是很简单的,只是我们当时没有仔细的去想想该怎么实现,我这里用的是xmlhttp来实现的,当然还有其它的办法,我就不多说了。现在看论坛上很多都是要一些“完整的代码”,看了之后真的是....汗-_-! a.html [code]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4...
http://www.jb51.net//article/6091.htm
[code]function IsValidYear(psYear){    var sYear = new String(psYear);    if(psYear==null)    {        return false;    }    if(is...
http://www.jb51.net//article/6012.htm
[html]<script type="text/javascript">//Title              :       判断两种颜色值是否为相似颜色//Author       :       CnLei//WebS...
http://www.jb51.net//article/5606.htm
[html]<!doctype html public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="gb2312"> <head> <head> <title&g...
http://www.jb51.net//article/5491.htm
/*判断专传输数据是否为数字 用正则表达式判断输入的数字是否合法 调用:checknum(参数1,参数2) */ [code]function checknum($id,$say)  {              $inid=$id;             ...
http://www.jb51.net//article/5100.htm
<% functioncheckisUrl(tmpString)   dimc,i   checkisUrl=true   tmpString=Lcase(trim(tmpString))   ifleft(tmpString,7)<>"http://"thentmpString="http://"&tmpString   fori=8toLen(checkisUrl)   &nb...
http://www.jb51.net//article/4807.htm
第一种办法:<%FunctionIsValidEmail(Email)ValidFlag=FalseIf(Email<>"")And(InStr(1,Email,"@")>0)And(InStr(1,Email,".")>0)ThenatCount=0SpecialFlag=FalseForatLoop=1ToLen(Email)atChr=Mid(Email,atLoop,1)IfatChr="@"ThenatCount=atCount+1If(atChr>=Chr(32))And(atChr<=Chr(44))ThenSpecialFlag=Tru...
http://www.jb51.net//article/4780.htm
如何判断用户是否非正常离开聊天室?  total=application("AllPeople")'聊天总人数.  aryHuman=split(total,";")  fori=lbound(aryHuman)toubound(aryHuman)-1  ifapplication("user"&i)="online"then  ifint(timer)-int(application("TimeBegin"&i))>120then  applicati...
http://www.jb51.net//article/4778.htm
iflen(usersays)<>0then session("whoto")=request.form("whoto") session("action")=request.form("action") ifinstr(usersays,chr(39))>0then usersays=replace(usersays,chr(39),"\"&chr(39)) endif ifinstr(usersays,chr(34))>0then usersays=replace(usersays,chr...
http://www.jb51.net//article/4777.htm
<%OptionExplicitDimstrDate      '记录输入的日期,字符型.DimdatDate      '测试输入的日期是否正确,日期型.<html>%><head><title>千花飞舞之日期验证</title><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"><linkrel="stylesheet...
http://www.jb51.net//article/4753.htm
login.htm<%@Language=javascript%><%if(Request.Cookies("SavedLogin").HasKeys){  Response.Redirect("checklogin.asp?Cookie=1")}%><html><head><title>精彩春风之登录页面</title></head><body>我要登录随风起舞<FORMACTION="CheckLogin.asp"METHOD="POST"> &...
http://www.jb51.net//article/4706.htm
共有:95/10,当前8/10页  [首页] [上一页] 4 5 6 7 8 9 10 [下一页]  [尾页] 转到: