摘要:
方法一是去掉发布信息过程中的空格、‘、换行符public static string FromSafeHtmlString(this string input){ StringBuilder sb = new StringBuilder(); sb.Append(HttpContext.Current.Server.HtmlDecode(input)); sb.Replace("<br/>", "\r\n"); sb.Replace(" ", " "); sb.Replace(&quo 阅读全文
2012年8月13日 #
摘要:
//将json数据绑定到具有模板的Table中$.fn.dataBind = function (options) { var target = this; var defaults = { expand: false, loading: true, showPager: true, cache: true, cacheName: undefined, emptyMessage: '<div class="text_empty">没有数据内容。</div>', data: undefined, template: undefined, 阅读全文