$.ajax({ type: "POST", async: false, url: (location.href).replace("register", "registersave"), data: id = "test", success: function(success) { $("#zad").html(success); } });
$.ajax({ type: "POST", async: false, url: (location.href).replace("register", "registersave"), data: id = "test", success: function(success) { $("#zad").html(success); } });