IE6 中文字符参数问题

     原来是这样的(rs(0)是中文字段名):

     <a href="?productCat=<%=rs(0)%>><%=rs(0)=%></a>

     现在应该是这样:

     <a href="?productCat=<%=server.URLEncode(rs(0))%>><%=rs(0)=%></a>

     注意保证rs(0)是非空的。

-----------------------------------------------EOF--------------------------------------------------------------------------------------

Permalink | Comments (0) | Hits: 581 | Time: 8:13:12
一种开发方法
asp动态输出脚本调用字符
All Comments

 No Data Now...

Post Your Comment
^ ^

2181
Top
Display Pagerank