I have simple registration form. Once all information entered, user click submit button and all information sent to default.cs.asp?Process=Add2Member. Everything works. Now, I am trying to implement it into ajax Jquery so that user will stay on same page. I looked at sample codes to do this. I am confused at one point. As I understand, with ajax, I will need to grab data as QueryString but I dont want that. How can I grab it as Request.Form again.
$("[name='signup']").click(function() {
$.ajax({
type: "GET",
url: "default.cs.asp",
success: function(output) {
$("#SIGNUPFORM").html(output);
//$("#SIGNUPFORM").html(output).append("Üyeliğiniz başarıyla gerçekleşti. Lütfen emailinizi kontrol edin.");
},
error: function(output) {
$(".SIGNUPFORM").html(output);
}
//success: function(msg, textStatus){
//alert( "Server Response: " + msg );
//}
});
edit: I made a mistake with type: field. Its GET, not POST.