diff options
Diffstat (limited to 'form/form.js')
-rw-r--r-- | form/form.js | 13 |
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
|