Created
June 12, 2019 07:50
-
-
Save eto4detak/d9a9bfea61dad1d2b85f1fb2072b2174 to your computer and use it in GitHub Desktop.
ajax
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
document.addEventListener('DOMContentLoaded', function(){ | |
EnviarCorreo(); | |
}); | |
function EnviarCorreo() | |
{ | |
jQuery.ajax({ | |
type: "POST", | |
url: 'coordinates.php', | |
data: {}, | |
success:function(data) { | |
console.log('success'); | |
console.log(data); | |
EnviarCorreo(); | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment