0
我有一個問題。我需要你的幫助。當我按下按鈕時,必須通過ajax工作,在網絡中,我看到303看到其他問題,這是問題所在?你怎麼能幫助我?在此先感謝ajax是什麼錯誤狀態代碼:303
var data = {
action:"video_gallery_ajax",
task:'load_images_lightbox',
page:pagenum,
perpage:perpage,
galleryid:galleryid,
thumbtext:thumbtext,
pID:pID,
likeStyle:likeStyle,
ratingCount:ratingCount
}
jQuery.post('components/com_gallery/ajax_url.php',data,function(response){
if(response.success){
}}
向我們展示您的ajax代碼和服務器端代碼也 –
看看[這個問題](http://stackoverflow.com/questions/16337697/react-to-303-status-code-in-jquery-prevent-from - 重定向) –
你的代碼片段如何? – claudios