05 2012 档案
文本框与autocomplete结合使用
摘要:JS脚本引用<script src="/scripts/Jquery.autocomplete/jquery.autocomplete.js" type="text/javascript"></script>样式引用<style type="text/css" media="all"> @import url("/scripts/Jquery.autocomplete/css/jquery.autocomplete.css"); </style>J 阅读全文
posted @ 2012-05-28 14:42 张扬个性,敢为天下先 阅读(4235) 评论(1) 推荐(1)
线程Thread,有参数和参数
摘要:无参数:NonParameterRun,方法名 Thread nonParameterThread = new Thread(new ThreadStart(NonParameterRun)); nonParameterThread.Start(); 有参数ParameterRun(object str),注意命名时候必须是Object类型Thread parameterThread = new Thread(new ParameterizedThreadStart(ParameterRun)); parameterThread.Start("参数"); 阅读全文
posted @ 2012-05-18 14:10 张扬个性,敢为天下先 阅读(2555) 评论(0) 推荐(1)
数据采集,微软控件分页问题的处理
摘要:System.Net.WebClient WebClientObj = new System.Net.WebClient(); System.Collections.Specialized.NameValueCollection PostVars = new System.Collections.Specialized.NameValueCollection(); PostVars.Add("__VIEWSTATE", _viewstate); PostVars.Add("__EV... 阅读全文
posted @ 2012-05-17 18:52 张扬个性,敢为天下先 阅读(633) 评论(0) 推荐(0)
Chosen—jquery选择框插件
摘要:<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script> <script src="chosen/chosen.jquery.js" type="text/javascript"></script>应用JS文件<select class="chzn-select" data-pl 阅读全文
posted @ 2012-05-11 10:29 张扬个性,敢为天下先 阅读(14852) 评论(20) 推荐(0)
js url加密解密
摘要:js对文字进行编码涉及3个函数:escape,encodeURI,encodeURIComponent,相应3个解码函数:unescape,decodeURI,decodeURIComponent1、 传递参数时需要使用encodeURIComponent,这样组合的url才不会被#等特殊字符截断。例如:<script language="javascript">document.write('<a href="http://passport.baidu.com/?logout&aid=7&u='+encodeUR 阅读全文
posted @ 2012-05-09 14:31 张扬个性,敢为天下先 阅读(19499) 评论(2) 推荐(0)
webservse导出excel和word
摘要://导出EXCEL function game_Excel() { var platname =encodeURI( $("#slectplat").val());//加密(是为了防止有中文) $("#ExcelForm").attr("action", "AjaxHandle/ExportExcel.ashx?type=game&plat=" + platname + "&time=" + time + "&impormcount=" + count 阅读全文
posted @ 2012-05-07 14:03 张扬个性,敢为天下先 阅读(1187) 评论(2) 推荐(0)
固定表头和列头
摘要:<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script><script type="text/javascript">// <![CDATA[function FixTable(TableID, FixColumnNumber, width, height) { /// <summary> /// 锁定表头和列 /// <para> sorex.cn 阅读全文
posted @ 2012-05-02 10:49 张扬个性,敢为天下先 阅读(746) 评论(0) 推荐(0)


点击右上角即可分享
微信分享提示