2011年5月12日
摘要: IE错误代码 403 FORBIDDEN 可能是因为您未在对方网站注册,一般情况下可在网上进行即时注册,但一些完全"封闭"的网站都会产生以上的信息。 404 NOT FOUND 最常见的出错信息,其实这是因为您的WWW浏览器不能找到您所要 的文件(即网页),该文件可能被移到别的地方去了、或者根本就不复存在。 409 Fire flood and Pestilence 无意义。 解决办法:重新连接。 500 SERVER ERROR 这个信息通常是对方网页程序设计错误而产生的,您等待对方网页纠正错误后再上吧。 503 SERVICE UNAVAILABLE 这个信息表示不能连 阅读全文
posted @ 2011-05-12 15:41 纳兰_容若 阅读(556) 评论(0) 推荐(0) 编辑
2011年2月24日
摘要: 很多时候 为了编程方便、快捷,我们经常定义全局变量 页面加载初始化并赋值 但是在此全局变量为控件对象时: var test; $(function () { test = document.getElementById("TextBox1"); }); function clk() { alert(test.value); } <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <div id="contain 阅读全文
posted @ 2011-02-24 17:41 纳兰_容若 阅读(776) 评论(0) 推荐(0) 编辑
摘要:  1 function getSelectionStart(o) 2 { 3 if (o.createTextRange) 4 { 5 var r = document.selection.createRange().duplicate() 6 r.moveEnd('character', o.value.length) 7 if (r.text == '') return o.value.length 8 return o.value.lastIndexOf(r.text) 9 } else return o.selectionStart10 } 阅读全文
posted @ 2011-02-24 17:30 纳兰_容若 阅读(192) 评论(0) 推荐(0) 编辑
2011年2月18日
摘要: event.returnValue="------------------r r确定r r----------------------"; 阅读全文
posted @ 2011-02-18 15:17 纳兰_容若 阅读(449) 评论(0) 推荐(0) 编辑
摘要: /*call1: //将A对象的方法放在B对象上执行 */ function ParentC() { this.Parent = "NOT-NULL"; } function ChildC() { ParentC.call(th... 阅读全文
posted @ 2011-02-18 15:11 纳兰_容若 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Declare @cityProId int select @cityProId=id from Provinces where ProvincesName=@ProvincesName print @cityProId insert into cities(ProId,cityName) select @cityProId as proid,col as cityname from dbo.f... 阅读全文
posted @ 2011-02-18 15:08 纳兰_容若 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 当时业务需求:2 1 1 分支 父checkBoxList和一个子CheckBoxList 生成第三个CheckBoxList 阅读全文
posted @ 2011-02-18 15:07 纳兰_容若 阅读(255) 评论(0) 推荐(0) 编辑
摘要:  阅读全文
posted @ 2011-02-18 14:59 纳兰_容若 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 正文 阅读全文
posted @ 2011-02-18 14:48 纳兰_容若 阅读(150) 评论(0) 推荐(0) 编辑
摘要: View Code 新手 好像代码布局有点乱 没有调好 阅读全文
posted @ 2011-02-18 14:42 纳兰_容若 阅读(784) 评论(0) 推荐(0) 编辑