0

我正在使用的这个小代码片段引起了问题,因为请求字符串以“delete.php&id={id}&confirm=yes”而不是“delete.php?id={id}&confirm=yes”的形式传入 apache .

if(result) {
    var posting = $.post( '/support_ticket/delete.php', {id: tickId, confirm: 'yes'});
    posting.done(function( data ) {
        var content = $( data ).find( '#main' );
            bootbox.alert(content);
        });
    }

据我所知,我以前从未遇到过这个问题,也不明白为什么会这样。

4

0 回答 0