jquery - PHP files not loading on ajax calls (AWS server) -


the following error being thrown in browser console while ajax calls made in aws server

xmlhttprequest cannot load http://<awsdns>/folder/webpage.php.  origin http://awsdns not allowed access-control-allow-origin. 

here how ajax call being made

    $.ajax({         type    : 'post',         url     : gbwebroot+'folder/webpage.php',         data    : postformdata,         datatype: 'json',         encode  : true,         success     : function(data) {          }     }); 

any idea why error being thrown?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -