Ajax Calls to allow Same Origin

TEST CORS Same Origin Policy

HTML

<div id="result">Result</div>
<!-- TEST CORS Same Origin Policy-->

JavaScript

/*Ajax call to get ASMX Web service*/
$(document).ready(function(){
$.ajax(
    {
        url:"https://beamly.brightdoor.com/brightbase/wsbrightdoor.asmx/GetAllProductDetails?clientID=1&centerID=1&username=dropbox&password=gonoles&productTypeIDs=3,4,5,6,7&productAttributeDefIDs=1,2,3,4,5,6,7,8&productStatusIDs=1,3",
        success: function(xmlRes,sMsg,Obj){
        //console.log(xmlRes);console.log(sMsg);console.log(Obj);
            $("#result").html(Obj.responseText);
        }
    });
});