私はそれが動作し、ChromeとFirefoxですべてのデータを渡しますが、IEHTTPの場合:IEでは405エラーのみ。アヤックス
$.ajaxSetup({
cache: false
});
var dataString = 'firstname=' + firstname + '&lastname=' + lastname + '&areacode=' + areacode + '&phonenumber=' + phonenumber + '&emailaddress=' + emailaddress + '&confirmemail=' + confirmemail + '&password=' + password + '&streetaddress=' + streetaddress + '&streetaddress2=' + streetaddress2 + '&city=' + city + '&state=' + state + '&zipcode=' + zipcode + '&month=' + month + '&day=' + day + '&year=' + year + '&services=' + services + '&agreement=' + agreement;
//alert(dataString);
// alert(services);
//var d = new Date();
$.ajax({
cache: false,
type: "POST",
url: "http://www.vectorcreditsolutions.com/js/process.php",
data: dataString,
// dataType: ($.browser.msie) ? "text" : "xml",
success: function(ret) {
window.location.href ="http://www.vectorcreditsolutions.com/thankyou.html";
}
});
return false;
});
を台無しにし、私は、http 405の問題とを取得するIEで抱えている問題を解決しようとしているこんにちはIE任意の入力が が
完全なURLを使用する必要がありますか?スクリプトは別のドメインで実行されていますか? –
重複している(http://stackoverflow.com/questions/6523162/jquery-ajax-get-returns-405-method-not-allowed)標準的なAjaxを使用してクロスドメイン要求を行うことはできません –
メソッドを切り替えると機能しますか取得するため?また、どのバージョンのIEを使用していますか? (IE6にはいくつかの既知の問題があります)。 –