我有一个段代码:
<html>
<body><script type="text/javascript">var test1="http://www.w3sc%hool.com.cn/My%20first/"
document.write(decodeURI(test1))
</script></body>
</html>可是当加了%后,就无法运行了。
如果一定要%的话,如何修改?