Skip to main content

Home/ Semantic/ Group items tagged xmlhttprequest

Rss Feed Group items tagged

sebastien grandperret

L'XMLHttpRequest cross-domain - 0 views

  •  
    pourquoi xmlhttprequest ne fonctionne pas en crossdomain et comment XMLHttpRequest 2 va regler le problème
Nicolas Punzo

Configure Apache To Accept Cross-Site XMLHttpRequests on Ubuntu « harth's blog - 0 views

  • Configure Apache To Accept Cross-Site XMLHttpRequests on Ubuntu 15Oct09 1. Make sure you have the mod_headers Apache module installed. to do this check out /etc/apache2/mods-enabled/ and see if there’s a ‘headers.load’ in there. If there isn’t then just sudo ln -s /etc/apache2/mods-available/headers.load /etc/apache2/mods-enabled/headers.load 2. Add the Access-Control-Allow-Origin header to all HTTP responses. You can do this by adding the line Header set Access-Control-Allow-Origin "*" to the desired <Directory> section in your configuration file (like the /etc/apache2/sites-available/default file). Saying "*" will allow cross-site XHR requests from anywhere. You can say "www.myothersite.com" to only accept requests from that origin. 3. Reload apache server. sudo /etc/init.d/apache2 reload Maybe this is really obvious to a lot of people, but it wasn’t to me, so there you go.
Nicolas Punzo

The XMLHttpRequest Object - 2 views

  •  
    Tuto XML et Javascript, XSLT mais sans JS
sebastien grandperret

Ajax get small example - 0 views

  •  
    small example of ajax
sebastien grandperret

Tutoriel AJAX : Chargement d'un fil RSS et Transformation XSLT côté client - 1 views

  •  
    TUTO Ultime de transformation xslt via ajax, récupération du fichier xml, transformation xslt. le tout en asynchrone 
Nicolas Punzo

CrossXhr - crossxhr - Cross Domain XHR: A drop-in replacement for XmlHttpRequest object... - 0 views

  • crossdomain.xml¶If you plan to do an XHR request to domain www.xyz.com, make sure that http://www.xyz.com/crossdomain.xml exists. Here is a sample crossdomain.xml: <?xml version="1.0"?><!DOCTYPE cross-domain-policy           SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy>  <allow-access-from domain="*" /></cross-domain-policy>
Nicolas Punzo

Tutoriel AJAX : Chargement d'un fil RSS et Transformation XSLT côté client - 0 views

  • function getNewXMLHTTP() { try { return new XMLHttpRequest(); } catch(e) { try { var aObj = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { var aObj = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { return false; } } } return aObj; } function executeExemple() try { var xmlHttp = getNewXMLHTTP(); } catch(e) { alert("Pour une raison ou une autre,il y a eu une erreur sur cette page et la gestionnaire d'erreur est trop paresseux pour faire de quoi d'utile. Désolé."); } }
1 - 9 of 9
Showing 20 items per page