Error XMLHttpRequest can't load, origin not allowed
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.
Could you help me out here?