Last active
July 4, 2019 19:21
-
-
Save ederrafo/02e403ce349f9db78be0d9912a6c7458 to your computer and use it in GitHub Desktop.
jquery various javascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// event modal bootstrap 3 | |
$('#crear-gestion-de-cobranza').on('show.bs.modal', function (event) { | |
event.preventDefault; | |
console.log('Logica para crear una gestion de cobranza') | |
// AccountsPrepare() | |
// AccountsPaint(); | |
}); | |
// send FILE throug ajax | |
$.ajax({ | |
type : 'POST', | |
url : $form.attr( "action" ), | |
data : new FormData(this), | |
cache : false, | |
contentType : false, | |
processData : false | |
}).done(function(data){ | |
}).fail(function(data){ | |
}).always(function(jqXHR){ | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment