0.0.4 validation form
This commit is contained in:
@@ -14,8 +14,11 @@ function SendRegistrationForm(el){
|
|||||||
// enctype: 'json',
|
// enctype: 'json',
|
||||||
data: formData,
|
data: formData,
|
||||||
success: function(data){
|
success: function(data){
|
||||||
console.log(JSON.stringify(data))
|
|
||||||
// location.href = '/'
|
// location.href = '/'
|
||||||
|
},
|
||||||
|
error: function (data, exception){
|
||||||
|
document.querySelector(".registration").innerHTML = data.html
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user