Fork me on GitHub
.net求学者
摘要: 一、// /// 过滤标记 /// /// 包括HTML,脚本,数据库关键字,特殊字符的源码 /// 已经去除标记后的文字 public static string NoHTML(string Htmlstring) { if (Htmlstring == null) { return ""; } else { //删除脚本 Htmlstring = Regex.Replace(Htmlstring, @"", "",... 阅读全文
posted @ 2014-03-27 21:46 hy31337 阅读(372) 评论(0) 推荐(0) 编辑
摘要: // 6.设置select中text="paraText"的第一个Item为选中 function jsSelectItemByValue(objSelect, objItemText) { //判断是否存在 var isExit = false; for (var i = 0; i < objSelect.options.length; i++) { if (objSelect.options[i].text == objItemText) { ... 阅读全文
posted @ 2014-03-27 21:20 hy31337 阅读(866) 评论(0) 推荐(0) 编辑
.net求学者