search for: upload_frame

Displaying 3 results from an estimated 3 matches for "upload_frame".

Did you mean: upload_iframe
2007 Nov 05
0
Ajax - attachment_fu - rmagick and iframe
...> ''m_content'' and redirect_to enc_url, :update => ''m_content''. But neither I recharge ... rhtml ------ <% form_for(photo, :url => {:action => "create", :tID => params[:tID] }, :html => { :multipart => true, :target => "upload_frame" }) do |f| -%> <tr> <td> <div class="fileinputs"> <input id="photo_uploaded_data" name="photo[uploaded_data]" type="file" class="file" size="15"/> <div class="fakefile...
2009 Mar 18
1
Ajax file upload with remote_form_tag
...form-data"> <input type="file" name="charts_file" id="filename" /> <input type="button" name="submit" class="button_light" value="Upload" /> </form> <iframe id="upload_iframe" name="upload_frame" style="display: none"></iframe> I could receive the file at server end through params[:charts_file]. Now i wanted to have it ajax so I just added the ''onSubmit'' like below, and it didnt work ... <form target="upload_iframe" action="/...
2007 Nov 06
3
Urgent!!!! responds_to_parent error
...ot;/> </div> </div> </td> </tr> <tr> <td class="okLogo" valign="top" colspan="2"> <%= image_submit_tag ("../images/ok.gif") %> </td> </tr> <% end -%> <iframe id=''upload_frame'' name="upload_frame" style="width:1px;height:1px; border:0px" src="about:blank"></iframe> controller ----------- def create @photo = Photo.new(params[:photo]) if @photo.save responds_to_parent do render :upd...