Fork me on GitHub
摘要: function ajaxFileUpload() { var File_box = document.getElementById('V_file'); var extend = File_box.value.substring(File_box.value.lastIndexOf(".") + 1); if (File_box.value == "" || File_box.value == ... 阅读全文
posted @ 2014-04-21 16:43 乔闻 阅读(652) 评论(0) 推荐(0) 编辑
摘要: File_box.value.substring(File_box.value.lastIndexOf(".") + 1); 阅读全文
posted @ 2014-04-21 16:32 乔闻 阅读(505) 评论(0) 推荐(0) 编辑
摘要: JavaScript 在浏览器执行的语言 与java的关系 张宇 张雨生 是解释型语言,无需编译就能运行,哪怕有语法错误,没有语法错误还是能运行. 开发环境 VS中JavaScript\JQuery的自动完成功能;VS08需要安装SP1补丁\VS10直接有 入门 Window对象 Window对象代表当前浏览器窗口,使用window对象的属性\方法的时候可以省略window,比如window... 阅读全文
posted @ 2014-04-21 14:03 乔闻 阅读(400) 评论(0) 推荐(0) 编辑
摘要: HTTP 1.1状态代码及其含义 状态代码 状态信息 含义 100 Continue 初始的请求已经接受,客户应当继续发送请求的其余部分。(HTTP 1.1新) 101 Switching Protocols 服务器将遵从客户的请求转换到另外一种协议(HTTP 1.1新)200 OK 一切正常,对GET和POST请求的应答文档跟在后面。 201 Created 服务器已经创建了文档,Locati... 阅读全文
posted @ 2014-04-21 14:01 乔闻 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-21 13:59 乔闻 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 添加用户:用户名:Email:电话: 用户名Email电话删除 阅读全文
posted @ 2014-04-21 13:58 乔闻 阅读(256) 评论(0) 推荐(0) 编辑
摘要: $(function () { $(".leftsecoundtitle").css({ "display": "none" }); $("#id1").toggle( function () { $("#id1 + .leftsecoundtitle").slideDown("normal"); $(this).css("background", "#E1E1E1"); //$(".zsfl-... 阅读全文
posted @ 2014-04-21 13:57 乔闻 阅读(157) 评论(0) 推荐(0) 编辑
摘要: document.getElementById('Content_Right_id').style.width = document.documentElement.clientWidth - 250 + 'px'; 阅读全文
posted @ 2014-04-21 13:56 乔闻 阅读(7131) 评论(1) 推荐(0) 编辑
摘要: 页头ValidateRequest="false" KindEditor.ready(function (K) { window.editor = K.create('#', { uploadJson: '../Scripts/KindEditor/asp.net/upload_json.ashx', fileManagerJson: '../Scripts/KindEditor/asp.... 阅读全文
posted @ 2014-04-21 13:55 乔闻 阅读(214) 评论(0) 推荐(0) 编辑
摘要: window.onload = function () { document.getElementById('Select1').onclick = function () { var index = document.getElementById('Select1').selectedIndex; var a = document.getElementById('Text1'); a.setAt... 阅读全文
posted @ 2014-04-21 13:54 乔闻 阅读(319) 评论(0) 推荐(0) 编辑
摘要: $('#cc').combobox('setValue','bitem3').combobox('setText','bitem3') 阅读全文
posted @ 2014-04-21 13:53 乔闻 阅读(1146) 评论(0) 推荐(0) 编辑
摘要: ValidateRequest="false"引用编辑器要在最上端加入上面的话 阅读全文
posted @ 2014-04-21 13:52 乔闻 阅读(81) 评论(0) 推荐(0) 编辑
摘要: Untitled Page 阅读全文
posted @ 2014-04-21 13:51 乔闻 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-21 13:50 乔闻 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 算法:先找一层,再递归 阅读全文
posted @ 2014-04-21 13:49 乔闻 阅读(161) 评论(0) 推荐(0) 编辑
摘要: //缩放和布局$(window).resize(function () { $('#BZ_Content').datagrid('resize', { width: getWidth(0.992) })});function getWidth(percent) { if ($("body").width() < 950) { return 950; } else return $("body").... 阅读全文
posted @ 2014-04-21 13:49 乔闻 阅读(263) 评论(0) 推荐(0) 编辑
摘要: function FormButton() { $.ajax({ type: "post", url: "Competition.ashx", data: "name=John&location=Boston", success: function (msg) { alert("Data Saved: " + msg); } });} 阅读全文
posted @ 2014-04-21 13:48 乔闻 阅读(87) 评论(0) 推荐(0) 编辑
摘要: select * from (select t.*,rownum no from " + table + " t where scbj=0)where (no>(" + PageNo + "-1)*" + PageSize + " and no(1-1)*20 and no<=(1)*20) update TB_BZ_CONTENT set MC='名称99',LB=1,WZDZ='名称99'... 阅读全文
posted @ 2014-04-21 13:45 乔闻 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 读 response.SetCokie(new HttpCookie("Color",TextBox1.Text);写 request.Cookies["color"].Value; 阅读全文
posted @ 2014-04-21 13:43 乔闻 阅读(135) 评论(0) 推荐(0) 编辑
摘要: OracleConnection conn = c.GetConnection(); OracleCommand cmd = new OracleCommand(); cmd.Connection = conn; cmd.CommandText = "update t_user set U_ACCOUNT=:U_ACCOUNT,U_NAME=:U_NAME,U_TYPE=:U_TYPE,U_CO... 阅读全文
posted @ 2014-04-21 13:42 乔闻 阅读(258) 评论(0) 推荐(0) 编辑