I have Jquery Code Sample.Here I need to put the content of one page inside a particular div
var ajax_load = "<img src='ajax-loader.gif' alt='loading...'>";
$('#id').html(ajax_load).load("https://url/demo/Sample");
Due to CORS my code is not working.In my server CORS is enable but request is not coming to server also,How to handle the issue,
If I am trying the same with normal Html (From Same Domain )I am not getting it correctly