jsp传中文乱码问题 encodeURIComponent()编码方法

时间:2014-06-14 20:57:35   收藏:0   阅读:422

jQuery.ajax({
            type:"POST",
            url:"${ctx}/offer.do",
            data:{
                ‘method‘:‘isNameExist‘,
                ‘type‘:‘area‘,
                ‘id‘:id==""?null:id,
                ‘name‘:encodeURIComponent(offerAreaName)
            },
            async:false,
            success:function (data) {
                bool = data;
            }
        });

jsp传中文乱码问题 encodeURIComponent()编码方法,布布扣,bubuko.com

原文:http://www.cnblogs.com/xtreme/p/3786404.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!