Changeset 6346
- Timestamp:
- 02/24/08 03:02:41 (11 months ago)
- Files:
-
- trunk/openlayers/tests/manual/ajax.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/tests/manual/ajax.html
r6131 r6346 23 23 function sendSynchronous(){ 24 24 var request = new OpenLayers.Ajax.Request(url, { 25 'asynchronous': false, 25 26 onComplete: function() { 26 27 document.getElementById('send_sync').value += 'request completed\n'; … … 31 32 function sendAsynchronous(){ 32 33 var request = new OpenLayers.Ajax.Request(url, { 33 'asynchronous': false,34 34 onComplete: function() { 35 35 document.getElementById('send_sync').value += 'request completed\n'; … … 63 63 <p>Clicking on the different buttons should give the following results in the textarea below :</p> 64 64 <ul> 65 <li> "other processing" then "request completed"</li>66 <li> "request completed" then "other processing"</li>67 <li> "request aborted" then "other processing"</li>65 <li>synchronous: "request completed" then "other processing"</li> 66 <li>asynchronous: "other processing" then "request completed"</li> 67 <li>abort: "request aborted" then "other processing"</li> 68 68 </ul> 69 69 </body>
