similar to: RJS referring to window.parent

Displaying 20 results from an estimated 2000 matches similar to: "RJS referring to window.parent"

2006 May 29
3
IFRAME based RJS - responds_to_parent
** File uploads with AJAX mojo ** Respond with RJS to your parent window with a form action targeted to a hidden IFRAME. Handles all the painful situations like scoping your JavaScript to your parent window generating the script block for execution and clearing the IFRAME after execution so the back button doesn''t re-execute the action. `plugin install
2007 Feb 15
1
wildcard fields
Hey all, is there a way to wildcard field searches? As in: - a document like {:title => ''foo'', :description1 => ''bar'', :description2 => ''bar2''} I''d search: index.search("description*: search query") I understand the example above is silly, but it''s enough to make the question understandable :-)
2005 Jul 11
1
Rating application for Asterisk
Does anyone knows a working FOSS rating application for Asterisk? I tried CDRTool, but since it's free for non commercial use, it won't suit me. Also I gave a shot at Trabas (the one everybody says it sucks), but I couldn't understand how does it pull records from Asterisk's CDR table. The rate-engine addon (http://www.voip-info.org/tiki-index.php?page=Asterisk+addon+rate-engine)
2007 Jan 10
0
LazyDoc over DRb
Hey all, I''m distributing requests to a small farm of Ferret servers across the network using DRb. In a specific part of my program, I''m trying to find an entry across servers, and for that, I''m using index[''example_doc_id''].load as the return value of the function in question. This returns a Ferret::Index::LazyDoc, which is all fine and dandy,
2005 Jul 03
0
no sound. "Failed to write frame"
Hi all, Couldn't find a place to search the list archives... I'm having issues in getting any sound using a fresh asterisk install and a SJPhone to connect to it. I went by the instructions pointed at the "10 minute guide", located here: http://www.voip-info.org/tiki-index.php?page=Asterisk+quickstart. I installed it on a Slackware 10.1, by using no more than "make
2005 Jul 04
0
no sound. "Failed to write frame" (2nd post)
Hi all, Couldn't find a place to search the list archives... I'm having issues in getting any sound using a fresh asterisk install and a SJPhone to connect to it. I went by the instructions pointed at the "10 minute guide", located here: http://www.voip-info.org/tiki-index.php?page=Asterisk+quickstart. I installed it on a Slackware 10.1, by using no more than "make
2006 Jul 12
9
ferret using UTF-8
Hey all, I went through the docs in Ferret''s page, plus a quick search through the email list (thread titles), and I couldn''t find any info on how to have Ferret storing it''s data using UTF-8. In the scenario I would use it, nothing''s being stored outside (like external databases). So it''s just how Ferret would do it that I''m interesting in
2006 Jul 18
10
searching with chinese chars
Hi all, maybe not a Ferret question, but I assume here might have came across that already. I wrote a simple CGI app that adds docs into a Ferret index. The idea is testing asian languages input and searching. The script that does the input seems to be OK. As David mentioned in a question I made a little while ago, Ferret''s index is agnostic, in the sense that you can store anything in
2010 Jan 02
0
Print a PDF directly after prawnto with iframes
Hi, I think I''m very near of accomplishing this but I have a problem. This is the code: <%- content_for :head do -%> <script type="text/javascript" charset="utf-8"> function printPDF(){ var pdf = document.getElementById("pdfDoc").contentWindow; pdf.focus(); pdf.print(); } </script> <%- end -%>
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 Apr 09
1
RJS across iframes
I have an inline iframe which has a form in it, when the form is updated, I would like to call an RJS template that will update the parent page. +-----------------------------------------------+ | | | <div id="mydiv"> Update with RJS </div> | | | |
2008 Jan 31
0
Element.Fire on window.parent.document from iframe (fails in Opera)
I wanted to create an iframe that could be included on any page for uploading images, without determining the parent behaviour at all from within the iframe. The iframe include just checks if there was an image loaded, and does this to pass upload information to the parent (this only fires when an image was uploaded): $(window.parent.document).fire(''image:uploaded'',
2006 Jun 29
3
dynamic generation of iframes and writing to them
Hello Everyone, I would like to get some suggestions on a problem I am trying to address. - I send a request to a 3rd party server (for ads) and a response is received from them. - Currently, I display it inline on the page and things work fine but page loading is slow and the 3rd party response can mess up styles, js on my page. - So, I want to capture this response and dynamically generate
2006 Jul 15
0
RJS help?
I have an action that does a redirect to an external URL, passing a "come back to here" parameter to that URL. When it "comes back to here", I either process a "successful" return, process a "failed" return, or redirect on a "need more information" return. In the last case, I would really like to put the "need more information" URL
2007 Feb 27
0
form_remote_for & file uploads
Has anyone successfully gotten Ajax file uploads working using form_remote_for & attachment_fu? I have seen Sean Treadway''s responds_to_parent plugin and many other samples available, and they all seen to statically generate <form> tags. Is there a way to get a file upload to work using the Rails helpers? <% form_remote_for(:message, @message, :url =>
2006 Mar 07
2
file_upload ... won''t
Hi, I''m just trying out Sebastian''s file_upload plugin, but I''m having problems - bound to be my fault! I can''t search gmane at the moment for examples that I''m sure have been recently posted :-( I have a MySQL table "scripts" with a field "filename varchar(255) not null, and a basic scaffold''d set of files for model
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
2006 Jun 13
1
Element.remove parent div
Hi all, Currently I am using Element.remove like so: <div class="blurb" id="drag_1"> <a onclick="Element.remove(''drag_1'');" class="remove"></a> </div> However I would like to just create a function since I''ll be removing multiple DIVs and updating the sortable order. I just can''t get some version
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 (
2006 Jun 04
4
Fil from filsystem -> db
Since Ajax doesn''t support file uploads, I''m using "IFRAME remoting made easy" (http://sean.treadway.info/). I''m saving a file to the filesystem, and then trying to put it in to the database when I do the final submit with ajax. I thought picking the file up and putting it in the db would be as easy as having: "@image.data =