"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 Next revision Both sides next revision | ||
ajax:sol [2011/06/29 20:46] oertz |
ajax:sol [2011/06/29 20:50] oertz |
||
---|---|---|---|
Line 36: | Line 36: | ||
===== Question 3 ===== | ===== Question 3 ===== | ||
**Ecrire l'instruction jQuery la plus précise qui correspond à un tel appel AJAX.** | **Ecrire l'instruction jQuery la plus précise qui correspond à un tel appel AJAX.** | ||
+ | |||
+ | <code> | ||
+ | $.post("subscribe.php", | ||
+ | { | ||
+ | lastname:"Talon", | ||
+ | firstname:"Achille", | ||
+ | birthdate: "07/11/1963" | ||
+ | }, | ||
+ | successCallback, | ||
+ | "json" | ||
+ | ); | ||
+ | </code> | ||
+ | |||
+ | Sachant que la fonction de rappel //successCallback// recevra un objet JavaScript que jQuery aura automatiquement décodé. |