I have two pages in different server.
Through ajax I would like to include some data: here is an example: link
The link is working through browser.
jQuery(window).ready(function() { getPageWithAjax("http://www.betcatcher.com/index.php?page=valuebets&nr_row=6"); function getPageWithAjax(page) { //alert(page) ajaxRequest = $.ajax( { url: page, cache: false, success: function(msg){ajaxResponse(msg)}, error: function(msg){ajaxResponse('Error loading data.'+msg.status)} }); } function ajaxResponse(msg) { $("#live_bet_ajax_content").html(msg); } }); But I'm getting error when I'm trying to get data.