Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var basedir = 'http://127.0.0.1:8000';
- function loadajax() {
- $.ajax({
- //url: basedir+'/check_info/',
- url: 'http://www.facturativa.com',
- //type: 'GET',
- dataType: 'jsonp',
- crossDomain: true,
- success: function (data) {
- console.log(data);
- window.alert(data);
- }
- });
- }
- $(document).ready(function() {
- setTimeout(function() {loadajax();}, 1000);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement