asp.net页面上head标记中加入
<!--[if lt IE 9]>
<script type='text/javascript' src='Jscript/Plugin/html5.js'></script>
<![endif]-->
运行时页面报错:
System.Web.Compilation.ParseException
Expecting </script> and got EOF.Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error.
Details: Expecting </script> and got EOF.
Error origin: Parser
是不是jexus不支持<!--[if lt IE 9]>标记解析?我把标记删除后,页面就能显示。求回复!谢谢!
作者:Jack 发布时间:19年11月26日 可选操作:
删除 回复需要用 <%="<!--[if lt IE 9]>"%> 方式输出这特殊标记。
作者:yunei 发布时间:19年12月02日 可选操作:
删除 回复