2017年6月28日

摘要: $("#supDataList").datagrid({ url: "../Ajax/SupplierAjax.ashx", queryParams: { cmd: "getSup", strWhere: strWhere }, fitColumns: true,//真正的自动展开/收缩列的大小,以 阅读全文
posted @ 2017-06-28 09:29 幽默是一种心情 阅读(433) 评论(0) 推荐(0) 编辑
 

2017年6月22日

摘要: 1.写入Cookie值 string userName = context.Request.Form["u_Name"].ToString().Trim(); string pwd = context.Request.Form["u_Pwd"].ToString().Trim(); if (user 阅读全文
posted @ 2017-06-22 09:05 幽默是一种心情 阅读(410) 评论(0) 推荐(0) 编辑
 

2017年6月15日

摘要: html: <input id="Radio1" type="radio" value="男" name="st_Sex" checked="checked"/>男 <input id="Radio2" type="radio" value="女" name="st_Sex" />女 js: $(" 阅读全文
posted @ 2017-06-15 15:25 幽默是一种心情 阅读(3375) 评论(0) 推荐(0) 编辑
 

2017年6月14日

摘要: --查询第10页的数据(15条) 阅读全文
posted @ 2017-06-14 15:07 幽默是一种心情 阅读(116) 评论(0) 推荐(0) 编辑
 

2017年6月13日

摘要: <style type="text/css"> body{ font-family: SimHei,"微软雅黑",sans-serif; } <style> 注意:加上中文名“微软雅黑”是为了兼容opera浏览器,中文字体名必须加上引号(单引号双引号都可以)。 font-family 定义的最后要加 阅读全文
posted @ 2017-06-13 13:50 幽默是一种心情 阅读(649) 评论(0) 推荐(0) 编辑
 

2017年6月7日

摘要: 1、Remove例: StringBuilder val = new StringBuilder(); val.Append("...."); val.Remove(0,val.Length);//清空2、Replace StringBuilder val = new StringBuilder() 阅读全文
posted @ 2017-06-07 18:14 幽默是一种心情 阅读(2577) 评论(0) 推荐(0) 编辑
 

2017年6月4日

摘要: var title = "xxxx"; var content = '<iframe scrolling="auto" frameborder="0" src="Purchase/PurchaseAdd.html" style="width:100%;height:100%;"></iframe>' 阅读全文
posted @ 2017-06-04 10:03 幽默是一种心情 阅读(548) 评论(0) 推荐(0) 编辑
 

2017年5月29日

摘要: 例一: <script type="text/javascript"> var str="Hello world!" document.write(str.substring(3)) </script> 输出: 例二: <script type="text/javascript"> var str= 阅读全文
posted @ 2017-05-29 09:10 幽默是一种心情 阅读(929) 评论(0) 推荐(0) 编辑
 

2017年5月19日

摘要: //任意正整数,正小数(小数位不超过2位) var isNum=/^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/; var num = '666.62'; if(isNum.test(num)) { return true; } // 阅读全文
posted @ 2017-05-19 15:50 幽默是一种心情 阅读(10126) 评论(0) 推荐(0) 编辑
 
摘要: HTML页面: <input name="payWay" type="checkbox" value="1" /> <input name="payWay" type="checkbox" value="2" /> <input name="payWay" type="checkbox" value 阅读全文
posted @ 2017-05-19 15:10 幽默是一种心情 阅读(242) 评论(0) 推荐(0) 编辑