| 发表于:2007-01-09 09:40:26 楼主 |
比如我有一个a变量里面包含了双引号( "),如何在text文本框中正确显示? 部分程序如下: <%dim a set rs = server.createobject( "adodb.recordset ") rs.open "select * from abc ",conn,1,1 if not rs.eof then a=rs( " ")a end if %> html部分 <input name= "topic " type= "text " id= "topic " value= " <%=a%> " /> 这样好象不行,如果a中包含 "号就无法正确显示,如何解决这个问题? |
|
|
|
|