高分求解,JS中等效ASPserver.urlencode()语句是什么?
encodeURIComponent("'%达%'")
encodeURI("'%达%'")
这两个方法我都试过,不能将中文转到ASP页里正常使用
提示:Server]字符串 '杈?' 之前有未闭合的引号。
(用了SQL语句)
请问还有什么方法能做到?
附:JS(edit_sql是本页的iframe|editsql.asp接收SQL,Sql_key两个REQUEST.QUERYSTRING)
url_temp="editsql.asp?sql=select * from buy_ware where name like '%达%'&Sql_key=warenokey_keyRepertoryID"
edit_sql.location=url_temp;