两个HTML之间传递参数
两个页面怎么传递中文
1. location.href=toform1.html?name=注册
在接收页面用location.search接收参数
可是这种方法在传递中文时总显示编译过的代码 如:%B2%CD%D2%FB%D2%B5%20
怎么解决这个问题啊,我想传过来的还是中文
2. <form action="toform1.html" method="post" name="form1" id = "form1">
用form表单提交,在接收页面该怎么接收参数啊?