var dataToServer = {
userName: document.getElementById("username").value,
email: document.getElementById("email").value,
country: document.getElementById("country").value,
name: document.getElementById("name").value,
newsletter: document.getElementById("newsletter").value,
updates: document.getElementById("updates").value,
tagname: document.getElementById("tagname").value,
};
на 7 строке ошибка с апдейтс гвоорит считать не может
исправил на check1 и check2 , то бишь на id, а тто был label указан случайно, теперь другая ощшибка
GET
http://vmazal.mcdir.ru/someServerUrl...es=on&tagname= 404 (Not Found) jquery.min.js:formatted:2702
c.extend.ajax jquery.min.js:formatted:2702
(anonymous function) sliding.form.js:153
c.event.handle jquery.min.js:formatted:997
j.handle.o
а anonymous function он про вот эту гвоорит
$.ajax({
url: "someServerUrl",
method: "post",
data: dataToServer,
success: function () {/* Успех! */},
error: function () {/* Неудача! */}
});