摘要:
最近一直在做项目,分享下以前收集的Javascript100例,仅供参考。http://files.cnblogs.com/52net/JavaScript100例.zip 阅读全文
摘要:
首先新建一个类,继承自System.Web.UI.Page,然后重写OnInit,如下:using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;namespace F 阅读全文
摘要:
//文本框剩余字数提示(字符大小)function textLimitCheckSj(thisArea, maxLength, SpanId) { var str = thisArea.value; if (getChrLen(str, maxLength) > maxLength * 2) { thisArea.value = str.substring(0, x-1); } else { var varss = '(剩余字数:' + Math.floor((maxLength * 2 - getChrLen(str, maxLength)... 阅读全文