upd
This commit is contained in:
parent
7e60bd954f
commit
21856e85d6
|
@ -41,13 +41,14 @@ $(function() {
|
||||||
// };
|
// };
|
||||||
|
|
||||||
$('#mountForm').submit(function(event){
|
$('#mountForm').submit(function(event){
|
||||||
console.log('submit');
|
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url:"mount",
|
url:"mount",
|
||||||
data:$(this).serialize(),
|
data:$(this).serialize(),
|
||||||
method:'POST',
|
method:'POST',
|
||||||
success:function(data){
|
success:function(data){
|
||||||
|
console.log(data);
|
||||||
$('#mount').css('display', 'none');
|
$('#mount').css('display', 'none');
|
||||||
$('input[type = "text"]').val('');
|
$('input[type = "text"]').val('');
|
||||||
var res = JSON.parse(data);
|
var res = JSON.parse(data);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user