摘要:
//***分享一个Javascript检查图片大小方法*****///;function checkImgFun(FileImg,vSize,vWidth,vHeight){ var AllowImgFileSize=vSize; //允许上传图片文件的大小 0为无限制 单位:KB var AllowImgWidth=vWidth; //允许上传的图片的宽度 0为无限制 单位:px(像素) var AllowImgHeight=vHeight;//允许上传的图片的高度 0为无限制 单位:px(像素) var txtImg=FileImg;//document.getElementById(&q 阅读全文
posted @ 2011-04-20 15:39
youngff
阅读(715)
评论(0)
推荐(0)
摘要:
/// <summary> ///获取当前页面的名称 /// </summary> /// <returns></returns> public static string GetPageName() { return HttpContext.Current.Request.ServerVariables["PATH_TRANSLATED"].ToString().Replace(HttpContext.Current.Server.MapPath(""), "").Substring( 阅读全文
posted @ 2011-04-20 09:44
youngff
阅读(1286)
评论(0)
推荐(0)
浙公网安备 33010602011771号