Hi,
I am now try to do file uploading using AJAX and through google I find that these code snipe should work.
<%= form_tag_with_upload_progress({:action => 'upload'}, { :begin => "new Effect.Appear('status')", :finish => "$('message').innerHTML = arguments[0]" })%>
<%= file_field 'document', 'file' %> <%= submit_tag 'Upload' %>
<div id="status" style="display: none"> <%= upload_status_tag %> </div>
<%= end_form_tag %>
however, i cannot find form_tag_with_upload_progress method in rails doc at all. and my rails version is 1.2. Could you please help me out? Thanks!