Displaying 2 results from an estimated 2 matches for "upload_list".
Did you mean:
upload_disk
2006 Aug 15
0
Can you use form_remote_tag to upload files?
I have the following form_remote_tag:
<%= form_remote_tag(:update => ''target_lists'',
:url => { :action => ''upload_list'' },
:html => { :multipart => true }) %>
I then submit using a regular submit tag
<%= submit_tag ''Upload List'' %>
Does the Form.serialize call that is generated for the Javascript not
handle the file field?
Thanks,
Wes
--
Posted v...
2006 Jul 21
10
Using an image button for "link_to_remote"
All,
I want to do an AJAX request using a custom image button. I currently
have this as a standard button action using "button_to".
What I need is the button equivalent of "link_to_remote". Is there a
helper that I can use, or do I need to build it by hand?
I see button_to_function(), but that sets me up to call a Javascript
function, not post to a Rails action.
Or can