摘要: 用VS打开你的项目从VS中找到"调试"-----"附件到进程",然后选中w3wp.exe,点击附件到进程,然后再发送数据进行调试就可以了 阅读全文
posted @ 2014-06-09 15:29 cove 阅读(153) 评论(0) 推荐(0)
摘要: 最近用Kindeditor,不知道怎么JS取值。网上找一个方法,搞定!谢咯~ KindEditor.ready(function(K) { editor = K.create('textarea[name="content"]', { cssPath : '../kindeditor/plugins/code/prettify.css', uploadJson : '../Kindeditor/KEupload', fileManagerJson : '../kindeditor/php/file_manager_js 阅读全文
posted @ 2012-08-31 15:33 cove 阅读(1098) 评论(0) 推荐(0)
摘要: 在asp中,出现下列错误提示:Microsoft VBScript 运行时错误 错误 '800a01ad' ActiveX 部件不能创建对象 这个错误是asp组件未注册,而导致。解决方法如下:1、如果是你自己开发的组件,请使用 regsvr32 路径/组件.dll 进行注册。2、可能是IIS自带的常用组件,由于系统问题、或杀毒等原因,导致组件出现问题,则请用下列两个cmd命令试一下。regsvr32 scrrun.dll重新注册FSO文件管理。regsvr32 "C:\Program Files\Common Files\System\ado\msado15.dll& 阅读全文
posted @ 2012-08-07 11:24 cove 阅读(1296) 评论(0) 推荐(0)
摘要: <html> <head> </head> <script> function demo(){var namevalue = document.getElementsByName("user");for(var i=0;i<namevalue.length;i++){ var value1 = namevalue[i].nextSibling.nodeValue; if(namevalue[i].checked){ alert(value1); } }}</script> <body> <i 阅读全文
posted @ 2012-07-04 15:02 cove 阅读(495) 评论(0) 推荐(0)
摘要: 引用自百度知道里面的一个问答例如数组{1,2,3,4,5}要把数组里面的3删除得到{1,2,4,5}js代码:<script type="text/javascript"> Array.pArray.prototype.indexOf = function(val) { //prototype 给数组添加属性 for (var i = 0; i < this.length; i++) { //this是指向数组,this.length指的数组类元素的数量 if (this[i] == val) return i; //数组中元素等于传入的参数,i是下标,如 阅读全文
posted @ 2012-07-04 14:59 cove 阅读(227) 评论(0) 推荐(0)
摘要: var arrA = [a, b, c, d]; var arrB = [e, f, g, h]; arrA.push.apply(arrA, arrB); 接下来,arrA 就是你要的最终的值了用 arrA.push.apply 是因为这样刚好可以将本身正是数组的 arrB 作为参数一次性传入最近做项目遇见这个问题。分享给大家。Thanks~原文 http://topic.csdn.net/u/20111030/17/86c09362-c61e-417e-a1f8-0e095e8b7f4a.html 阅读全文
posted @ 2012-06-15 18:00 cove 阅读(250) 评论(0) 推荐(0)
摘要: create table tb(id int, test varchar(10))insert into tb values(1, 'aa')insert into tb values(1, 'bb')insert into tb values(2, 'aaa')insert into tb values(2, 'bbb')insert into tb values(2, 'ccc')go--1. 创建处理函数CREATE FUNCTION dbo.f_strUnite(@id int)RETURNS varcha 阅读全文
posted @ 2012-06-07 10:57 cove 阅读(298) 评论(0) 推荐(0)
摘要: 各位老鸟多多指教。。。- - 阅读全文
posted @ 2012-06-07 10:51 cove 阅读(79) 评论(0) 推荐(0)