aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2006-10-13 14:56:14 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2006-10-13 14:56:14 +0000
commite7669f64d88612884df27c5744558191f8e6c8b1 (patch)
treefbff6601628dd830ed8ca85f6f513ab0b94ed56a /src/ajax
parentbfa8306633da9c2500e4f3e190c81a9827a8f95a (diff)
downloadjquery-e7669f64d88612884df27c5744558191f8e6c8b1.tar.gz
jquery-e7669f64d88612884df27c5744558191f8e6c8b1.zip
Added test for #174; Modified failing (IE) tests for find
Diffstat (limited to 'src/ajax')
-rw-r--r--src/ajax/ajax.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js
index 1b1e274db..4ade2e846 100644
--- a/src/ajax/ajax.js
+++ b/src/ajax/ajax.js
@@ -661,6 +661,16 @@ jQuery.extend({
* }
* });
*
+ * @test stop();
+ * $.ajax({
+ * url: "data/with_fries.xml", dataType: "xml", type: "GET", data: "", success: function(resp) {
+ * ok( $("properties", resp).length == 1, 'properties in responseXML' );
+ * ok( $("jsconf", resp).length == 1, 'jsconf in responseXML' );
+ * ok( $("thing", resp).length == 2, 'things in responseXML' );
+ * start();
+ * }
+ * });
+ *
* @name $.ajax
* @type jQuery
* @param Hash prop A set of properties to initialize the request with.