Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ajax(){
- console.log("Evento AJAX");
- $.ajax({
- url : "url_aqui",
- type : "POST",
- data : {
- dados : argumento
- },
- success : function(json) {
- console.log(json);
- },
- error : function(xhr,errmsg,err) {
- console.log(xhr.status + ": " + xhr.responseText);
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement