ajax用get方法中文传值的转义方法

用encodeURIComponent();方法把中文转义一下再连到url地址中。服务器端无需反编码可直接取值。比escape方法好用。
posted on 2008-12-04 16:30  真阿当  阅读(246)  评论(0编辑  收藏  举报