From 7735f545c799dc68c39c21e48c4d8a8f7854008c Mon Sep 17 00:00:00 2001 From: tjcrowder Date: Sat, 22 Aug 2009 13:20:30 +0100 Subject: [PATCH] doc: Updated Form.serializeElements. --- src/dom/form.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dom/form.js b/src/dom/form.js index 7268a8c..37f4b13 100644 --- a/src/dom/form.js +++ b/src/dom/form.js @@ -33,6 +33,12 @@ var Form = { * Serialize an array of form elements to an object or string suitable * for [[Ajax]] requests. * + * As per the HTML spec, disabled fields are not included. + * + * If multiple elements have the same name and we're returning an object, + * the value for that key in the object will be an array of the field values + * in the order they appeared on the array of elements. + * *

The Options

* * The options allow you to control two things: What kind of return