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