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