diff options
author | Frederick Cheung <frederick.cheung@gmail.com> | 2009-01-25 23:55:36 +0000 |
---|---|---|
committer | Frederick Cheung <frederick.cheung@gmail.com> | 2009-01-25 23:59:31 +0000 |
commit | 16f2215d29580919a1b7c3d8c11a4b7ef8efcb99 (patch) | |
tree | 41e0965be2a185ba2328532912d92808da3a030b /railties | |
parent | f4c7d42fd439f69b2f9d46d62d33338ecf69c084 (diff) | |
download | rails-16f2215d29580919a1b7c3d8c11a4b7ef8efcb99.tar.gz rails-16f2215d29580919a1b7c3d8c11a4b7ef8efcb99.tar.bz2 rails-16f2215d29580919a1b7c3d8c11a4b7ef8efcb99.zip |
AJAX => Ajax
Diffstat (limited to 'railties')
-rw-r--r-- | railties/doc/guides/source/form_helpers.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/source/form_helpers.txt b/railties/doc/guides/source/form_helpers.txt index e6e591cfe9..b09cc530ee 100644 --- a/railties/doc/guides/source/form_helpers.txt +++ b/railties/doc/guides/source/form_helpers.txt @@ -597,7 +597,7 @@ NOTE: If the user has not selected a file the corresponding parameter will be an Dealing with Ajax ~~~~~~~~~~~~~~~~~ -Unlike other forms making an asynchronous file upload form is not as simple as replacing `form_for` with `remote_form_for`. With an AJAX form the serialization is done by JavaScript running inside the browser and since JavaScript cannot read files from your hard drive the file cannot be uploaded. The most common workaround is to use an invisible iframe that serves as the target for the form submission. +Unlike other forms making an asynchronous file upload form is not as simple as replacing `form_for` with `remote_form_for`. With an Ajax form the serialization is done by JavaScript running inside the browser and since JavaScript cannot read files from your hard drive the file cannot be uploaded. The most common workaround is to use an invisible iframe that serves as the target for the form submission. Customising Form Builders ------------------------- |