当在aspx页面中使用html注释块""时,出现js错误:"undefined".
解决方案:
1, 使用"<%----%>"代替""
2, 干脆去掉注释块
参考:http://community.sgdotnet.org/blogs/chuawenching/archive/2007/05/14/ASP.NET-2.0-_1320_-ValidatorOnLoad-_1C20_Microsoft-Javascript-runtime-error_3A00_-_1820_null_1920_-is-null-or-not-an-object_1D20_.aspx