摘要: //获取选中的下拉框 $('#someElement').find('option:selected'); $('#someElement option:selected'); //返回头部滑动动画 <script type="text/javascript">$(function () { jQu 阅读全文
posted @ 2016-08-25 09:53 路小乙 阅读(260) 评论(0) 推荐(0) 编辑
摘要: <input id="txt" class="text1" type="text" /> <script src="js/jquery-1.7.1.min.js"></script> <script type="text/javascript"> $(function () { $("input.t 阅读全文
posted @ 2016-08-25 09:25 路小乙 阅读(474) 评论(0) 推荐(0) 编辑
摘要: public string GetUrl_Path() { string url = "http://" + HttpContext.Current.Request.Url.Host; string url_sub = HttpContext.Current.Request.ApplicationP 阅读全文
posted @ 2016-08-24 09:40 路小乙 阅读(267) 评论(0) 推荐(0) 编辑
摘要: <script> $(function () { var SelectVal = $("input[name='rblGJS']:checked").val(); if (SelectVal == 1) { $("#gjsbh").show(); } $("#<%=rblGJS.ClientID % 阅读全文
posted @ 2016-08-22 11:11 路小乙 阅读(437) 评论(0) 推荐(0) 编辑
摘要: public void Get_Word(string gjbh) { try { DataSet ds = OperaterBase.GetDsBySql("select diffTableName from public_Data where gjbh='" + gjbh + "'"); str 阅读全文
posted @ 2016-08-22 11:03 路小乙 阅读(4898) 评论(1) 推荐(0) 编辑
摘要: 得到选中项的value值并拼接成一个字符串返回 public string GetChecked(CheckBoxList checkList, string separator) { string str = ""; for (int i = 0; i < checkList.Items.Coun 阅读全文
posted @ 2016-08-22 09:57 路小乙 阅读(14289) 评论(0) 推荐(0) 编辑