脚 本 之 家 www.jb51.net
页面导航:  不限条件-->C
本地搜索:
(一).确认删除用法:1.BtnDel.Attributes.Add("onclick","returnconfirm('"+"确认删除?"+"')");2.linktempDelete.Attributes["onclick"]="javascript:returnconfirm('"+"确认删除?"+"');";3.privatevoidgrdProject_ItemDataBound(objectsender,DataGridItemEventArgse)4.{if((e.Item.ItemType==ListItemType.Item)|(e.Item.ItemType==ListIt...
http://www.jb51.net//article/16563.htm
<ahref="#"id="a3"onclick="test()"style="display:none"></a><inputtype="button"value="clck"onclick="test2('a3');"/><scriptlanguage="javascript">functiontest(){document.location.href="DBAI_les20_globalization_support.ppt";}functiontest2(name){if(document.all){document.getElement...
http://www.jb51.net//article/16549.htm
1.出现“未找到文件“类似的错误时候,检查include文件的位置是否正确,下面引用php手册页面的原话:Filesforincludingarefirstlookedininclude_pathrelativetothecurrentworkingdirectoryandtheninthedirectoryofthecurrentscript.E.g.ifyourinclude_pathislibraries,currentworkingdirectoryis/www/,youincludedinclude/a.phpandthereisinclude"b.php"inthatfile,b....
http://www.jb51.net//article/16540.htm
实例一:前台[code]<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="Default.aspx.cs"Inherits="_Default"%><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><headrunat="server">...
http://www.jb51.net//article/16536.htm
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/><metahttp-equiv="Content-Language"content="gb...
http://www.jb51.net//article/16535.htm
进行Chunked编码传输的HTTPResponse会在消息头部设置:Transfer-Encoding:chunked表示ContentBody将用Chunked编码传输内容。Chunked编码使用若干个Chunk串连而成,由一个标明长度为0的chunk标示结束。每个Chunk分为头部和正文两部分,头部内容指定下一段正文的字符总数(十六进制的数字)和数量单位(一般不写),正文部分就是指定长度的实际内容,两部分之间用回车换行(CRLF)隔开。在最后一个长度为0的Chunk中的内容是称为footer的内容,是一些附加的Header信息(通常可以直接忽略)。具体的Chunk编码格式如下:[code...
http://www.jb51.net//article/16534.htm
同样一段代码,两次调用,一次通过,一次异常:functionclearSelect(obj){if(obj&&obj.options)obj.options.length=0;}以下是前人的一些经验:这是两个经典异常,不知道原理的话很难定位。从下面的代码中可用看到发生的条件<iframesrc="javascript:'<script>top.ff1={abc:function(){}}<\/script>'"width=0height=0name="f1"></iframe><buttononclick="f1.locat...
http://www.jb51.net//article/16533.htm
⑴ 函数原型:UINTWinExec(LPCSTRlpCmdLine,UINTuCmdShow);⑵ 参数:lpCmdLine:指向一个空结束的字符串,串中包含将要执行的应用程序的命令行(文件名加上可选参数)。uCmdShow:定义Windows应用程序的窗口如何显示,并为CreateProcess函数提供STARTUPINFO参数的wShowWindow成员的值。⑶ 返回值:若函数调用成功,则返回值大于31。若函数调用失败,则返回值为下列之一:① 0:系统内存或资源已耗尽。② ERROR_BAD_FORMAT:EXE文件无效(非Win32.EXE或.EXE影像错误)。③ ERROR_FILE...
http://www.jb51.net//article/16526.htm
法宝就是Concurrent.Thread这个家伙,其实是一个js库,你可以从网站下载源代码.如何使用呢?很简单Concurrent.Thread.create(f,a1,a2,...)f为你要调用的函数,a1,a2为该函数的参数,这样创建了一个线程,你可以同时创建多个,他们会同时去执行,这个库同时提供了很多的方法,类似其它语言里的Thread使用方法,如Concurrent.Thread.stop();等。具体去网站去了解。[code]<html><body><scripttype="text/javascript"src="Concurrent.Thread....
http://www.jb51.net//article/16519.htm
解决办法:禁用服务Win2003WinHTTPWebProxyAuto-DiscoveryService。双击右下角的时间,在“Internet时间”选项卡中将“自动与Internet时间服务器同步”选项去掉。...
http://www.jb51.net//article/16518.htm
[code]Date.prototype.dateAdd=function(interval,number){vard=this;vark={'y':'FullYear','q':'Month','m':'Month','w':'Date','d':'Date','h':'Hours','n':'Minutes','s':'Seconds','ms':'MilliSeconds'};varn={'q':3,'w':7};eval('d.set'+k[interval]+'(d.get'+k[interval]+'()+'+((n[interval]||1)*number)+')');retur...
http://www.jb51.net//article/16517.htm
共有:4267/10,当前6/427页  [首页] [上一页] 2 3 4 5 6 7 8 9 [下一页]  [尾页] 转到: