0
我使用jquery發送發佈數據,但是當我在asp中檢索它時,所有空格都已被刪除。asp經典:request.form數據沒有空格
Classic ASP Request.Form removes spaces?
我發現的問題,但我不知道他是什麼意思的URL編碼。
這裏是我的jQuery:
var dataString = 'name='+$("#name").val()+'&email='+$("#email").val()+'¬e='+$("#note").val();
$.ajax({
type: "POST",
url: "asp_mail.asp",
data: dataString,
success: function() {
$("p#mail-prompt").html("The message was successfully sent.");
$("div#the-prompt").slideDown();
}
});