2012年5月28日
摘要:
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
张扬个性,敢为天下先
阅读(4246)
推荐(1)
2012年5月18日
摘要:
无参数: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
张扬个性,敢为天下先
阅读(2569)
推荐(1)
2012年5月17日
摘要:
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
张扬个性,敢为天下先
阅读(638)
推荐(0)
2012年5月11日
摘要:
<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
张扬个性,敢为天下先
阅读(14860)
推荐(0)
2012年5月9日
摘要:
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
张扬个性,敢为天下先
阅读(19510)
推荐(0)
2012年5月7日
摘要:
//导出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
张扬个性,敢为天下先
阅读(1201)
推荐(0)
2012年5月2日
摘要:
<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
张扬个性,敢为天下先
阅读(751)
推荐(0)
2012年4月27日
摘要:
jQuery获取Select选择的Text和Value: 语法解释: 1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发 2. var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Text 3. var checkValue=$("#select_id").val(); //获取Select选择的Value 4. var
阅读全文
posted @ 2012-04-27 14:43
张扬个性,敢为天下先
阅读(532)
推荐(0)
2012年4月21日
摘要:
<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>拉动滚动条加载数据</title> <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function
阅读全文
posted @ 2012-04-21 12:06
张扬个性,敢为天下先
阅读(3511)
推荐(0)
2012年4月20日
摘要:
stringtime="201201";DateTime dt = DateTime.ParseExact(time, "yyyyMM", System.Globalization.CultureInfo.CurrentCulture);
阅读全文
posted @ 2012-04-20 17:43
张扬个性,敢为天下先
阅读(477)
推荐(0)