This commit is contained in:
Anna Sudnitsina 2018-03-26 23:12:00 +03:00
parent 7e60bd954f
commit 21856e85d6

View File

@ -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);