Displaying 1 result from an estimated 1 matches for "input_tag".
Did you mean:
input_tail
2006 Jun 28
2
Ajax - Upload File Upload
...g(:url => {:action => ''update'', :id => @product},
:html => { :action => url_for(:action => ''update'', :id =>
@product.id),
:enctype => "multipart/form-data"},
:update => ''formular'')
and my input_tag:
<%= file_field(''image'',''image'') %>
If i watch my params at my "ajax_update" action, the
params[:image][:image] value is always nil instead of an I/O-String.
If i don''t use ajax to update it works perfectly.
Can anywone help me ? PLL...