aboutsummaryrefslogtreecommitdiffstats
path: root/form
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2006-07-01 14:05:50 +0000
committerJohn Resig <jeresig@gmail.com>2006-07-01 14:05:50 +0000
commit73f55becc5e056ad28f6aec22ec014ffb3ab913b (patch)
treed4964b916b472bd8a811001c32f6cf52dbe66826 /form
parent6bf8667410f10dc505b81261a568e6a42e1ce809 (diff)
downloadjquery-73f55becc5e056ad28f6aec22ec014ffb3ab913b.tar.gz
jquery-73f55becc5e056ad28f6aec22ec014ffb3ab913b.zip
Getting ready for 1.0a.1.0a
Diffstat (limited to 'form')
-rw-r--r--form/form.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/form/form.js b/form/form.js
index 5194d6fa2..f391fcf17 100644
--- a/form/form.js
+++ b/form/form.js
@@ -127,6 +127,19 @@ $.fn.ajaxForm = function(target, post_cb, pre_cb) {
});
};
+/*
+
+$.ajax({
+ type: "POST",
+ url: "foo.cgi",
+ data: $.param( $("form").formdata() ),
+ success: function(){},
+ error: function(){},
+ complete: function(){}
+});
+
+ */
+
/**
* A simple wrapper function that sits around the .serialize()
* method, allowing you to easily extract the data stored within