摘要: 当VS2008的菜单栏中丢失一些菜单项后可以使用如下命令重新初始化VS2008环境:devenv /resetuserdata注意:使用此命令自定义工具箱将会清除! 阅读全文
posted @ 2011-09-05 09:48 txsun 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2011-08-19 22:22 txsun 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 注:对多选按钮操作。1:批量全选添加、批量移除。2:行单选添加、移除。3:分页之后(全选或不选)状态标识依然存在 1 /* *****>****>tr单选事件 2 ------------------------------------------------------------------------------------*/ 3 $("#ajaxshowmdqhList tbody tr").live("click",function(){ 4 sx_tr_Value($(this),false,""); 5 } 阅读全文
posted @ 2011-08-04 14:48 txsun 阅读(706) 评论(1) 推荐(1) 编辑
摘要: var sortArray=new Array(); var temp; sortArray=id_list.split(":"); for(var i=0;i<sortArray.length;i++) { for(var j=0;j<i;j++) { if(parseInt(sortArray[j])>parseInt(sortArray[i])) { temp=sortArray[j]; sortArray[j]=sortArray[i]; sortArray[i]=temp; } } } 阅读全文
posted @ 2011-08-02 16:33 txsun 阅读(4228) 评论(0) 推荐(0) 编辑
摘要: <tr onmouseout=\"this.style.backgroundColor=currentcolor;\" onmouseover=\"currentcolor=this.style.backgroundColor;this.style.backgroundColor='#6699ff' \" > 阅读全文
posted @ 2011-07-20 13:55 txsun 阅读(341) 评论(1) 推荐(1) 编辑
摘要: // 禁用鼠标右键$(document).bind("contextmenu", function() { return false;}); 阅读全文
posted @ 2011-07-16 11:14 txsun 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 在当前分组集合中自增长id 阅读全文
posted @ 2011-07-14 11:22 txsun 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1:判断正常表 select count(*) from SysObjects where XType='U' and name ='table'2:判断临时表 if exists(select * from tempdb..sysobjects where id=object_id('tempdb..#temp1')) 阅读全文
posted @ 2011-07-06 16:58 txsun 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 如过你在asp.net后台生成html代码然后输出到客户端就可能发生错误。错误的写法:onmouseover='currentcolor=this.style.backgroundColor;this.style.backgroundColor='#6699ff ' ' this.style.backgroundColor='#6699ff '此处脚本会认为它是非法的字符串不给予通过,就是提示:illegal character正确写法:onmouseover='currentcolor=this.style.backgroundColo 阅读全文
posted @ 2011-07-04 15:07 txsun 阅读(2753) 评论(0) 推荐(0) 编辑
摘要: 将href改为###即可成功跳转 如:<a id="userLog" href="###">已有地址点此登录</a> 阅读全文
posted @ 2011-04-20 16:36 txsun 阅读(163) 评论(0) 推荐(0) 编辑