2008年11月12日

JavaScript去除空格的三种方法 (trim)

摘要: 方法一:个人认为最好的方法.采用的是正则表达式,这是最核心的原理.其次.这个方法使用了JavaScript 的prototype 属性其实你不使用这个属性一样可以用函数实现.但这样做后用起来比较方便.下面就来看看这个属性是怎么来用的.返回对象类型原型的引用。objectName.prototypeobjectName 参数是对象的名称。说明用 prototype 属性提供对象的类的一组基本功能。对... 阅读全文

posted @ 2008-11-12 15:37 Wind Snail 阅读(1069) 评论(1) 推荐(0) 编辑

Redirecting to custom 401 page when "Access denied" occures within an ASP.NET application with Windows authentication

摘要: If you have an ASP.NET application with authentication mode set to Windows: <authentication mode="Windows"/><authorization><deny users="?" /></authorization>Then all Windows us... 阅读全文

posted @ 2008-11-12 15:35 Wind Snail 阅读(396) 评论(0) 推荐(0) 编辑

导航