脚 本 之 家 www.jb51.net
页面导航:  不限条件-->For
本地搜索:
其实以前也遇到过这种错误,选择的是逃避!!哈哈第一步:把'NTAUTHORITY\NETWORKSERVICE'添加到Administrator组中我的电脑-->右键-->管理-->本地用户和组选择“组”-->双击Administrators-->单击“添加”-->单击“高级”-->单击“立即查找”-->在下面的列表中选择NetworkService用户-->两次单击“确定”-->加入。第二步在企业管理器中加入NetWordService用户打开SqlServer企业管理器-->选择数据库实例-->打开“安全性”节点--&...
http://www.jb51.net//article/16658.htm
1.设置WinForm窗体属性showinTask=false2.加notifyicon控件notifyIcon1,为控件notifyIcon1的属性Icon添加一个icon图标。3.添加窗体最小化事件(首先需要添加事件引用):[code]this.SizeChanged+=newSystem.EventHandler(this.Form1_SizeChanged);//上面一行是主窗体InitializeComponent()方法中需要添加的引用privatevoidForm1_SizeChanged(objectsender,EventArgse){if(this.WindowState=...
http://www.jb51.net//article/16620.htm
一般比较简单的就是document.formName.action="/dddd.do?ddd="+strdocument.formName.submit();写成函数式的调用就是[code]<scriptlanguage="JavaScript">functioncheckaction(v){if(v==0){document.dbform.action="index.php?admin_db-repair";}else{document.dbform.action="index.php?admin_db-optimize";}dbform.submit();}</scri...
http://www.jb51.net//article/16376.htm
在一个含有Flash的网页中插入Flash会提示:警告:不建议使用getBoxObjectFor()。请使用element.getBoundingClientRect()。经本人测试,确实是Firefox在含flash的网页上提示,还不知道原因,也没找到解决办法。Firefox版本:3.0.3Flash:10.0html页面代码:[code]<html><body><objecttype="application/x-shockwave-flash"data="Inc/images/clock.swf"width="400"height="400"><...
http://www.jb51.net//article/16291.htm
一、问题描述类比一下,我用input.select()做了测试,却能响应select事件。这个原因先放一边,我们看看先怎么把眼下的问题解决了。不响应事件的代码示例:[html]<formid="form1"action="http://www.jb51.net"></form><scripttype="text/javascript">varform=document.getElementById('form1');form.onsubmit=function(){alert(1);};form.submit();</script>[/html]...
http://www.jb51.net//article/16196.htm
如果直接调用mysql_connect会出现:Fatalerror:Calltoundefinedfunctionmysql_connect()的错误解决办法,找到zendstudiophp.ini所在的位置我的zendstudio安装在D:\ProgramFiles\所以php.ini所在位置为:D:\ProgramFiles\Zend\ZendStudioforEclipse-6.0.0\plugins\org.zend.php.debug.debugger.win32.x86_5.2.12.v20071210\resources\php5在此文件夹中新建ext文件夹,并copyphp_m...
http://www.jb51.net//article/16161.htm
<?phpob_start();setcookie("username","宋岩宾",time()+3600);echo"theusernameis:".$HTTP_COOKIE_VARS["username"]."\n";echo"theusernameis:".$_COOKIE["username"]."\n";print_r($_COOKIE);?>Warning:Cannotmodifyheaderinformation-headersalreadysentby出错的原因我在php程序的头部加了,header("cache-control:no-cache,must-rev...
http://www.jb51.net//article/16106.htm
[html]<html><head><title>测试for..in</title><scriptlanguage="javascript"><!--varanObject=document;varpropertyInfo="";for(varpropertyNameinanObject){propertyInfo=propertyName+"="+anObject[propertyName];document.write(propertyInfo+"[br]");}//--></script></hea...
http://www.jb51.net//article/16014.htm
其实for/l%iin(1,1,99)do@echo%i括号中间的分隔号有多种形式如下:for/l%iin(1,1,99)do@echo%ifor/l%iin(1199)do@echo%ifor/l%iin(1;1;99)do@echo%ifor/l%iin(1=1=99)do@echo%ifor/l%iin(1<tab>1<tab>99)do@echo%i<tab>----tab键...
http://www.jb51.net//article/15607.htm
1、关于冒号:当某行内容以:打头时,用for/f"tokens=1*delims=:"%%iin('findstr/n.*test.txt')doecho.%%j会把:过滤掉;  2、关于分号:findstr.*test.txt可以把以分号打头的行完整显示出来,但是,用在for语句中就不能找到了,必须加上参数/n才可以,似乎是for语句会把以分号打头的行当作注释内容忽略掉,好象不是findstr的错;而不放在for语句中的type、more和findstr都是可以的;  解决问题1和问题2的方案有:稍微复杂一点的:@echooff::不会忽略空行for/f"delims="%%iin('fin...
http://www.jb51.net//article/15606.htm
FormValidate功能更新下载:http://sh.jb51.net/jslib/FormValidate.rar更多用法,可参才:http://jobj.googlecode.com/svn/trunk/FormValidate/demo.html加入方法:extend,加入验证模式4,同3,但是当验证不通过时,立即停止向下检查。在模式3下,如果发生错误,会把错误记录,并向下检查,模式4就不向下检查了。用法:<inputtype="text"name="name[0]"id="name[0]"ruleTpl="0"/><inputtype="text"name="bi...
http://www.jb51.net//article/15552.htm
共有:119/10,当前1/12页  [首页] [上一页] 1 2 3 4 5 6 7 8 [下一页]  [尾页] 转到: