Displaying 20 results from an estimated 20000 matches similar to: "AJAX update_method support"
2006 Apr 08
0
Re: Rails-spinoffs] Ajax.Updater asynchronous => false
I just ran into this very problem myself. Yes, this is a bug in prototype.
If you look in the code you will see that the relevent handlers and
callbacks simply aren''t called with a synchronous request (onComplete is
similarly not called).
I submitted a patch <http://dev.rubyonrails.org/ticket/4657> over at
dev.rubyonrails.org which fixes this behavior. If you decide to check it
2006 Apr 07
0
Ajax.Updater asynchronous => false
I was just working on a project where I needed to use Ajax.Updater with a
synchronous request. It appears like all one would need to do is set the
asynchronous option to false. I tried this and noticed that the content
was being requested synchronously but the content was never injected into
the DOM tree like one would expect from Ajax.Updater.
In order to get the content returned by
2006 Jan 27
1
Execute script tag loaded from Ajax.Updater call
Hello everyone,
I have an ad serving application that give me a chunk of javascript to
put in each page an when then page it loaded, that javascript executes
and it load a banner ad.
Basically, I''m returned this from the server:
<script language="JavaScript1.1" type="text/javascript"
src="http://mysite.com/execute/this_javascript.js">
</script>
2006 Feb 09
5
Ajax.Updater not populating element - please help
Hello everyone,
This is related to my post a few days ago regarding multi select
lists. I''ve rewritten the code and now can''t seem to get the
Ajax.Updater in getModels() to "execute", and the element never gets
populated.
I know it''s something obvious and hope someone could point it out to me.
Thanks for any help.
Here''s my code:
<script
2005 Aug 23
2
using the evalScript option on Ajax.Updater
Hi all,
I''m having trouble with the evalScript option on the Ajax.Updater. I''ve
removed everything except for the ajax call and a simple alert to try
and debug it. It doesn''t appear that the regex is finding my JS in the
response...
I''m doing an update request and the response is coming back correctly to
the updateConent function as this string:
<script
2005 Oct 05
0
Ajax.Updater form values
Hi
I came across this while testing which may be somewhat unnatural but
could be useful. I wanted to see the html that was being sent back
to the browser by Ajax.Updater, so I was specifying a <textarea> as
the target container. This worked fine in Firefox both platforms,
but not in Safari or IE6. After investigating it seems that setting
the innerHTML property of form objects
2006 Feb 07
1
Help needed with conflicting EventObserver
Hello everyone,
I have a page that populates/updates make, model and year select lists
via Ajax.Updater and I think that an EventObserver is causing a
conflict.
Here''s what I''m trying to do. I''m using this page as a create and
edit page for a car database. If I''m calling the page in edit mode,
I''ll want the make, model and year set (using the
2006 Apr 25
1
asynchronous False and Ajax.Responders object (bug)
Hi all.
In my apps I''m using Ajax Call synchronous, (both Ajax Request and Ajax Updater). There is bug in prototype (discused in mailing - list: here http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2006-April/003488.html and here
http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2006-April/003497.html). trying to put data from server to my html properly, I need call
2006 Feb 14
5
problem with sortable lists and IE
* I sent this message previously from the wrong address so it didn''t go
through so, I apologize in advance if a duplicate shows up *
Hello, I am very new to script.aculo.us and prototype but was trying to
implement some of the cool ajax functionality with Webwork.
I have been having a little trouble with the sortable element demo. I have
the following code below:
<html>
2005 Sep 02
3
Ajax.InPlaceEditor
Hello,
I have just subscribed to the list. I am having problems with the
Ajax.InPlaceEditor. I am getting different results when I use Firefox
and IE.
The problem is: On IE, when I click submit in the InPlaceEditor form,
the form posts to itself (my InPlaceEditor code is on /test/index.html,
and the form posts to /test/index.html) and passes a paramater of
''value''
2006 Jun 14
2
Global variables and onComplete in Ajax.Request
Hello everyone,
Just a note, I have to pass my JSON in the response body. I''m aware
of the X-JSON header, but am passing too much data to use it. No
problem and I have code that has it working well.
While I''m getting my JSON data back and can do whatever I''d like with
it in "setMakeVars", I''d like to set it to a global var "gljson"
below,
2006 May 24
2
Which JS/Ajax library to use with RoR
Hello,
I am beginning to soak myself into JS/Ajax stuff and I am quite confused
because of the myriad of AJAX books/frameworks - Its even worse than RoR
in this sense (i.e. in the case of RoR, half of the people are writing
books on it, and i believe this value is even higher with AJAX ;-) Of
course this is not a bad thing, but if a newbie has to choose something
it can be really hard.
So my
2007 Jan 21
0
Safari doesn't pass the headers.
When I try to update content through ajax It doesn''t work on Safari.
I''ve opened a ticket http://dev.rubyonrails.org/ticket/7087 for full
reference. The test case is the next:
/app/controllers/problem_controller.rb
class ProblemController < ApplicationController
def index
render :action => ''index''
end
def myrequest
render(:update) {|page|
2006 Feb 27
0
update a second div with Ajax.Updater, when Ajax.InPlaceEditor has just finished to modify another first div
Hi,
I''m a newbees in javascripting with scriptaculous, but I wonder someone
to help me on that simple (not for me of course !) case :
I''d like to update a second div with Ajax.Updater, when
Ajax.InPlaceEditor has just finished to modify another first div ? How
could I do this in this kind of code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2009 Apr 02
1
"can't modify frozen string" error in Ajax.Updater
I''ve just deployed my RoR app to a host that uses dispatch.cgi instead
of Mongrel and came across this issue when using AJAX. The same issue
has been highlighted a year ago, (on this list) <http://
groups.google.com/group/rubyonrails-talk/browse_thread/thread/
872fed1ff554c9a4> and (on Rails Trac) <http://dev.rubyonrails.org/
ticket/10365>.
In short, when some browsers enact
2006 Mar 13
2
Prototype ajax/javascript q
I''m trying to send to my application the coords x,y on an "input type
image" in a html form, but x,y variables are not present in the
POST_DATA (are not submitted). Any other field (hidden inputs) are being
sent when I click on the image input form field.
I use rails 1.0 and prototype 1.4, browsers Seamonkey
2.0, Firefox 1.x and Konqueror, Linux, and I''m just a
2007 Mar 01
3
Ajax.PeriodicalUpdater using Effect.Highlight to highlight newly loaded div
Hi folks. So far I have managed to get dataloading into a div froma
php script. This script just passes the time on the server in a div to
the javascript below. I am trying to get the last loaded data to call
Effect.Highlight but it seems to highlight the 2nd last data instead.
Can anyone see what''s going wrong here? I''ve tried everywhere to solve
this.
Check the code in action
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 Jun 29
0
Ajax Scaffold for a application started using win32-process module.
Hi,
I have an RoR application(parent) which is use to kick off other RoR
applications(ajax scaffold based).
I use win32-process Open4.popen4() to start the RoR applications.
Untill recently I was using normal scaffold feature of Rails, and recently I
migrated to Ajax Scaffold; After moving on to Ajax scaffold, when I try to
start a RoR from my parent RoR, the application do get started, when I
2006 Nov 24
0
Using Ajax.Updater with Form
Hi,
I''m trying to post to a PHP insert script and return the confirmation
text in a div with Ajax.Updater, but I''m having little luck. Does
anyone have any thoughts on my implementation? The page currently
refreshes completely.
Thanks.
< rsvp.php >
<html>
<head>
<script src="prototype.js" type="text/javascript"></script>