Displaying 20 results from an estimated 10000 matches similar to: "multipart/form-data"
2005 Dec 14
2
RE: Form.serialize and Ajax.Request->fileserialization and encoding
I''d bet money that they use a hidden iframe. Gmail already uses that to
avoid breaking the back button, from what I''ve read. It''s impossible to
send multipart form data through XMLHttpRequest, or so everything I read
says and my own personal attempts confirm. There is an IE ActiveX
plugin that will let you send files in a similar fashion, but it''s IE
only. I
2005 Dec 14
1
RE: Form.serialize and Ajax.Request -> fileserialization and encoding
1/ I am trying to send a multipart/form-data encoded form through Ajax
with
by calling Form.serialize, but it seems that files fields does not
support this very well
Is there any special mode to use ?
You cannot send a file through Ajax. You''ll have to submit the form
normally. To mimic Ajax functionality, you could set the target to a
hidden iframe, and on the server side,
2005 Dec 14
1
RE: Form.serialize and Ajax.Request ->fileserialization and encoding
I''ve not looked into how it''s done but adding an attachment in Gmail (UK version) uploads the file without refreshing the window, and http://www.yousendit.com <http://www.yousendit.com/> appears to send a file via some sort of RPC or AJAX. Maybe this could be another starting point for you.
Paul Shannon
Web Applications Developer
Codeweavers Limited
Tel: 0870 443
2006 Jul 03
7
form_remote_tag with multipart/form-data
Does form_remote_tag supports multipart/form-data ?
My form looks like this:
<%= form_remote_tag :url => { :action => ''do_image_upload'' },
:html => { :enctype => ''multipart/form-data'' } %>
<%= file_field ''image'', ''file_data'', :size => 32 %>
<%= submit_tag
2006 Feb 01
3
Problem using form_remote_tag and multipart
I have a form and e file field, and what I''m trying to do is when the
file is uploaded, a div shows the uploaded image using ajax, without
refreshing the page. But the problem I''m having is that with
form_remote_tag it won''t accept :multipart => true. Any ideas?
Thanks a lot
2010 Jun 26
1
Ajax Form with Multipart File Upload in Rails 3.0
How would I achieve this? In Rails 2.x, I would use responds_to_parent,
but it seems quite unsupported now.
What plugins/gems do people use nowadays that would automate
1) targeting form to iframe
2) sending javascript to iframe
3) having the javascript execute another javascript on parent page
Thank you,
Sharkie
--
Posted via http://www.ruby-forum.com/.
--
You received this message because
2008 Jun 03
7
Iframe shenanigans
Here''s my problem. Unfortunately I have the need to load up fully
qualified html documents
into my page. (think tens of thousands of mini sites). I also have the
need to be as handicap accessible as possible. (So ajax is essentially
out, screen readers aren''t up to snuff yet). Thus I''m using an iframe.
The unfortunate part
is that I have navigation menus that appear over
2006 Jun 27
14
iframe ... does it have an innerHTML ?
If I dynamically create a hidden iframe, how could I add a document in a
string to that element?
e.g.,
var sDocument = ''<html><head></head><body>Hello world.</body></html>'';
I''ve tried several variations of appendChild, innerHTML, document.innerHTML,
createTextNode.
Argh!
_______________________________________________
2007 Mar 13
2
mime types
I''m trying to use the ajax.Updater function to send a message to the
server and display an error message. Ok so far. However if the server
detects no error with the data sent I want to open a PDF file in a new
window. When I try to do this (using fpdf) the returned PDF is opened
as text in the error div.
Can anyone point me in the right direction.
rgds
gmcb
2006 May 09
8
Dynamically printing a page
Does anyone know of a cross browser solution to print a page/url after a
user clicks a button?
Currently, I''m using a "hidden" iframe to do my bidding. But from my
experience, IE requires that the iframe''s src attribute be set initially to
the url, in order for the page to open properly. I wasn''t able to add the
iframe to the page dynamically, either.
So
2008 Jan 01
2
Ajax.Updater from within an IFrame
Hello together.
I''m trying to call an Ajax.Updater from within an IFrame to update an
element in the parent window.
It is working, but I receive an error from Firefox when I do so.
What I want to do is to upload a file, and then after the file has
completed uploading, automatically reload a section of the page with
information about the file to post-process it.
However, AJAX
2006 Feb 18
10
Updated: window dialog script
Dialog script has been update. A demo can be seen here:
http://net4visions.com/dev/dialog/dialog.htm .
Please see changelog for changes.
The dialog script can be downloaded from here:
http://www.net4visions.com/dev/downloads/dialog.zip .
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Jan 04
4
gmail attached file field magic
Hello,
does someone knows how gmail does file upload when the attached files
are automatically saved in drafts ?
I am trying to do it in Scriptalicious/Prototype but I don''t see how they
get
the file on the system using js...
Tarek
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Aug 08
3
AutoCompleter IE6 and SELECT Element Clash
Hello,
I am using the AutoCompleter to great effect. However, the site design I
have been constrained by has <select> elements/drop down boxes below the
AutoCompleter field. This means that in Internet Explorer 6 the drop
down elements appear on top of the floating DIV when rendered in the
browser. Mozilla floats the DIV on top of the select elements as
expected.
Has anyone encountered,
2005 Aug 13
3
back button support
Hello,
I was just wondering what clever ways all the Ajax developers out there have
come up with to add back button support to their web apps. I have seen a
couple different ways on the net, but neither of them look very complete.
Ideally, I would like a solution where I could modify Ajax.Updater to keep
track of which pages where loaded into which elements, then create a
function like
2007 Nov 07
1
draggable with iframeshim for ie6
you all know the problem with select and textbox in ie6 where you need
an iframe under your divs so they will visually be on top. does
scriptaculous have api for iframeshim like yahoo yui does?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send
2006 Mar 09
5
Comet support?
Just out of curiosity, is there a plan to support Comet (name coined by the
dojo guys) w/ prototype? Comet represents persisting an http connection for
low latency data operations. It also represents a nice alternative to
polling.
Jim
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2008 Jan 31
7
Ajax.InPlaceEditor via PHP via prototype widows class = HELP :-)
my window comes up fine and builds a page from some PHP which is all
kosher. this is what the source of the "window" looks like:
-----------------------------------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2005 Aug 25
17
IE and the activeX security warning
I''ve been testing my page, which not only includes my new slider code
but the drag and drop code as well. You can see it here:
http://hoover.razorstream.com/preference.htm
My issue is that in IE, I get the annoying security warning across the
top saying ''IE has restricted this file from showing active content that
could access your computer''. If I allow the
2006 Aug 06
2
file upload with form_remote_tag
Is there a way to use form_remote_tag and to upload a file? The default
behavior ignores the upload when the Javascript serializes the form to
create the parameter list.
Basically, i''m just looking for an ajax file upload capability. Any help
would be appreciated.
thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: