获文本框内带空格的值
大神帮忙看下,下面是我的测试代码,点按钮后程序返回的值是
"AB燙D",怎么样才能正确的返回"AB CD"
<html>
<head>
</head>
<body>
<form>
<%
response.write "<input name=""objectname"" value=AB CD>"
response.write "<input type=submit value='Save Changes'>"
objectname=request.querystring("objectname")
response.write objectname
%>
</form>
</body>
</html>
------解决方案--------------------response.write "<input name=""objectname"" value='AB CD'>"
or
response.write "<input name=""objectname"" value='AB CD'>"
如果内容是数据库中生成的,可以将 replace成空格