similar to: "AJAX" file uploading

Displaying 20 results from an estimated 10000 matches similar to: ""AJAX" file uploading"

2007 Nov 09
1
ruby on rails + ajax + iframe image uploader
hi, I write a page that contain following function: this site contain a html file upload control, which allow user to upload image only. once the image had been uploaded, it will automatic display on the current page without refresh entire page. when the image is saved, it will return javascript that embed in a iframe (which is also in my current page) that can load the image into my page (
2011 Mar 02
2
Rails3 Uploading a File over AJAX
What is the Rails Way of uploading a file over AJAX with Rails 3? In previous versions of Rails, I''ve posted to a targeted iframe and used responds_to_parent to render the response. This doesn''t appear to be working with Rails 3. Anyone know a better solution? Thanks! Tom -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2009 Mar 18
1
Ajax file upload with remote_form_tag
when I tried below, it worked <form target="upload_iframe" action="/profile/validate_charts_file" id="upload_charts" method="post" enctype="multipart/form-data"> <input type="file" name="charts_file" id="filename" /> <input type="button" name="submit"
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
2007 Nov 05
0
Ajax - attachment_fu - rmagick and iframe
Hello I am uploading images ajax-attachment_fu-rmagick and an iframe and me climb correctly, but when I finish the process and the driver will I redirect_to enc_url I recharge layer ajax. I tried with redirect_to enc_url :partial => ''m_content'' and redirect_to enc_url, :update => ''m_content''. But neither I recharge ... rhtml ------ <% form_for(photo,
2006 May 12
0
draft-proposal for Ajax.History - History/Bookmark handling in Ajax apps
Hi list, In one of my previous projects I had to satisfy the requirement of handling browser back- and forward calls within an Ajax application. Thus I didn''t get an urge to switch the JS part of this project to an other framework like dojo (which supports Browser history handling out-of-the-box), I had to come up with an idea of doing this with prototype/scriptaculous. The arisen
2006 Jan 29
1
Works with iframe, but not ajax... ?!?
Hello all, I''ve run into trouble attempting to replicate something in ajax that worked when done with an iframe... In both cases I have a table inside a div that is being periodically refreshed every few seconds... The 1st column of each row in the table contains a link to a DHTML popup menu. I have the popup menu working in the ajax version. The problem is that in the ajax version
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
2006 Apr 18
0
Upload a file through an iFrame
Anybody here have any experience uploading a file via a hidden iframe for that "ajax fresh good feel"? Previously I was using the plugin form_remote_plugin (http://svn.kylemaxwell.com/form_remote_upload/trunk/) which was working like a dream until our sys admin updated rails to 1.1.2. I''ve made a form that can submit the file to an iframe, but now I''m having trouble
2006 Apr 18
0
iFrame File Upload
Anybody here have any experience uploading a file via a hidden iframe for that "ajax fresh good feel"? Previously I was using the plugin form_remote_plugin ( http://svn.kylemaxwell.com/form_remote_upload/trunk/) which was working like a dream until our sys admin updated rails to 1.1.2. I''ve made a form that can submit the file to an iframe, but now I''m having trouble
2006 Jun 07
1
Ajax Pan - IFrame
I want to make an IFRAME or some kind of AJax app that will pan an external page. Also allow for zooming. Can this be done in Ruby on Rails? -- Posted via http://www.ruby-forum.com/.
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,
2006 Feb 19
2
Prototype Ajax + File Uploading-- How?
Good evening! I''m currently trying to submit some data and a file upload through Ajax. I''m using rails & prototype, and somewhere there''s a disconnect. I''m reasonably convinced the file upload isnt being sent at all, or if it is, Rails has absolutely no idea. The form itself heads with: <form onsubmit="new
2006 Apr 21
1
Is AJAX https request possible from http page ?
Hi all Is it possible to do https request via AJAX from a http loaded page ? It''s for minimizing serverload and just send passwords and user-account stuff via https. >From my understanding how AJAX works, it is not possible to mix, because http/https is like cross-domain In case I am not wrong, maybe someone knows a way around the limitiations (my first thought: proxing via
2006 Feb 23
1
Ajax, validation, flash messages & redirects...
Hi everyone, I''m working on an file upload page that uses an ajax progress bar (http://sean.treadway.info/demo/upload/). I''ve also got validation on the uploads (must be a certain file size/mime type etc). When uploads pass validation - all is dandy. But when they fail - I can''t work out how to redisplay the form with the flash error messages (that normally appear
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 Jun 23
0
Embedded javascript or css within ajax page not showing
Hi, I am trying to use javascript and css within an ajax loaded page, but they don''t seem to get loaded. I have searched thru the archives and can''t find any help on this. For example, I have some page specific scripts that I put at the top of an ajax page within <script>...</script>, and use a stylesheet link tag. These are specific to these ajax pages. If I load
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
2009 Feb 11
0
remote_form_for file_field strangeness
Does anyone see any problem with this form? - form_remote_for(Photo.new, :html => {:multipart => true, :target => :uploader}) do |f| .form_element = f.label :photo = f.file_field :collateral = hidden_field_tag :container_id, @shoot.id = hidden_field_tag :container_type, @shoot.class.name .form_element = f.submit ''Add Photos'' The photo has a
2007 Jul 17
3
.htaccess problems..... Using Drupal
Hi All; I am trying out the web software from www.drupal.org and I have it Installed to a point ok in my www.werren.net domains. Every time I try to use the .htaccess file in the root directory With even one command showing I get a server mis-config error on the site. The default .htaccess is shown below I use Cent OS 4.7 using the Blue Quartz installer from Nuonce Networks