Knowledgebase

Portal Home > Knowledgebase > Articles Database > Jquery AJAX to php error


Jquery AJAX to php error




Posted by lalog00, 08-28-2011, 02:21 PM
Hi there, I'm trying to use Jquery's AJAX function to call a php script and return some html data. The console in Chrome tells me there is the following error, which I've never seen before: "XMLHttpRequest cannot load http://www.nubehost.mx/clientes/submitticket.php. Origin http://nubehost.mx is not allowed by Access-Control-Allow-Origin." I have a .htaccess rule to rewrite every "www" to non www version, I don't know if it has something to do. How do you fix this, in the Jquery side, PHP side, or in .htaccess? Could you help me out here?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Problems with Outlook (Views: 515)


Language:

Contact us