i am using magento and i am trying to post the form data to the controller action by using AJAX but i am getting this error :=> "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1/reliancedigital/index.php/crm/index/Registration/. (Reason: CORS header 'Access-Control-Allow-Origin' missing)."
My ajax code is this :>
$j('#customerreg').on('click',function(){
var value = $j('#email').val();
$j.ajax({
url:"<?php echo Mage::getUrl("crm/index/Registration")?>",
type:"POST",
data:$j('#registration').serialize(),
success:function(data){
console.log(data);
}
});
});