"The explosive growth of the GeoWeb and geographic information has made GIS powerful media for the general public to communicate, but perhaps more importantly, GIS have also become media for constructive dialogs and interactions about social issues." - Sui & Goodchild
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ajax:jsonxhr [2011/06/06 11:06] oertz |
ajax:jsonxhr [2011/06/06 11:26] oertz |
||
---|---|---|---|
Line 20: | Line 20: | ||
* la réponse sera simplement injectée dans un élément <div> de l'IHM | * la réponse sera simplement injectée dans un élément <div> de l'IHM | ||
- | * **Corrigés** | + | * **Le corrigé :** |
* **avec fonction anonyme : http://ogo.heig-vd.ch/ajax/TP2_form/index_xhr.html** | * **avec fonction anonyme : http://ogo.heig-vd.ch/ajax/TP2_form/index_xhr.html** | ||
* **sans fonction anonyme : http://ogo.heig-vd.ch/ajax/TP2_form/index_xhr_2.html** | * **sans fonction anonyme : http://ogo.heig-vd.ch/ajax/TP2_form/index_xhr_2.html** | ||
- | * **notez bien l'utilisation du //this// pour se référer au contexte d'exécution du //callback//** | + | * **Notez bien l'utilisation du //this// pour se référer au contexte d'exécution du //callback// (ici l'objet XHR)** |
===== TP3 ===== | ===== TP3 ===== | ||
Line 35: | Line 34: | ||
* Plus de suggestions cette fois-ci ! | * Plus de suggestions cette fois-ci ! | ||
* sauf une référence http://www.w3schools.com/jsref/dom_obj_select.asp | * sauf une référence http://www.w3schools.com/jsref/dom_obj_select.asp | ||
+ | |||
+ | * **Le corrigé : http://ogo.heig-vd.ch/ajax/TP3_xhr/index.html** |