Tengo un problema en mi sitio web. Ejecuto mi script ajax desde el sitio www. Todo funciona. Estoy ejecutando el mismo script desde el sitio m (móvil) y no pasa nada.
Esta es la configuración de mi solicitud ajax.
function ajaxfunc(){ var ajaxRequest; // The variable that makes Ajax possible! try{ // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e){ // Internet Explorer Browsers try{ ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try{ ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong alert("Your browser broke!"); return false; } } }Abrí el sitio en mi PC. tanto la versión www como m. También revisé todos los archivos incluidos en busca de errores. Simplemente no usará mi función ajax.