jquery的$('#theForm').serialize()獲取表單數據,ajax傳遞到服務器中文亂碼。

var params = $('#theForm').serialize(); params = decodeURIComponent(params,true); $.ajax({ url : "$!webPath/cart_address_save_ajax.htm", dataType : "JSON", data : params, suc
相關文章
相關標籤/搜索