0
我有一個功能在網頁上使用此代碼:廣東話加載內容
enter code here function LoadGrid() {
var gridder = $('#as_gridder');
var UrlToPass = "action=load";
//was var UrlToPass = 'action=load';
gridder.html('loading..');
$.ajax({
url : 'cartajax.php',
contentType: 'application/x-www-form-urlencoded;charset=ISO-8859-7',
type : 'POST',
data : UrlToPass,
success: function(responseText) {
gridder.html(responseText);
}
});
}
和ajax.php我有這樣的代碼:
enter code here $action = $_POST['action']; switch($action) { case "load":
和我不能看到任何東西,但只能加載... 問題只在ie8
你有沒有發現在控制檯的任何錯誤?同時檢查'jQuery'版本及其對'IE8'的支持。 – Rayon
'; charset = ISO-8859-7'是什麼? – Musa
穆薩它的希臘編碼 – perastikos1