From 73f55becc5e056ad28f6aec22ec014ffb3ab913b Mon Sep 17 00:00:00 2001 From: John Resig Date: Sat, 1 Jul 2006 14:05:50 +0000 Subject: Getting ready for 1.0a. --- form/form.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'form') 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 -- cgit v1.2.3