git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a bug with $.map() and undefined values.
[jquery.git]
/
form
/
form.js
diff --git
a/form/form.js
b/form/form.js
index
5194d6f
..
f391fcf
100644
(file)
--- a/
form/form.js
+++ b/
form/form.js
@@
-127,6
+127,19
@@
$.fn.ajaxForm = function(target, post_cb, pre_cb) {
});
\r
};
\r
\r
});
\r
};
\r
\r
+/*
\r
+
\r
+$.ajax({
\r
+ type: "POST",
\r
+ url: "foo.cgi",
\r
+ data: $.param( $("form").formdata() ),
\r
+ success: function(){},
\r
+ error: function(){},
\r
+ complete: function(){}
\r
+});
\r
+
\r
+ */
\r
+
\r
/**
\r
* A simple wrapper function that sits around the .serialize()
\r
* method, allowing you to easily extract the data stored within
\r
/**
\r
* A simple wrapper function that sits around the .serialize()
\r
* method, allowing you to easily extract the data stored within
\r