similar to: Ajax.Updater asynchronous => false

Displaying 20 results from an estimated 2000 matches similar to: "Ajax.Updater asynchronous => false"

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 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 08
2
Tooltip.js problems
I''m starting to play with the tooltip.js library from http://tooltip.crtx.org/index.php?page=HomePage. The libarary seems to work pretty well except that when I use a tooltip on a web page that has a form and submit buttons, the submit buttons stop functioning and won''t respond to click events anylonger. So far I''ve only been able to reproduce this under Safari.
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 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
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
2007 Mar 02
12
Prototype: Ajax.Request w/asynchronous: false
All, I have the following Ajax call: new Ajax.Request(action, {asynchronous: false, method: ''post'', parameters: params_to_pass, evalScripts: true}); The action that I''m calling is using render :update to send back Javascript. When asynchronous is set to true above, then the Javascript is executed (because of evalScripts:
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|
2008 Jan 19
1
Set Return Type XML in Prototype
Please help i can''t return xml data using prototype. If i use data from direct xml file then it works fine but when i use ajax request with header content xml it''s not working My code just work on IE but in FF it does not working. My code sample are given below If any one already done this kinds of job Please help me as soon as possible. var xmlDoc; function Claulate() { var
2005 Aug 17
5
asynchronous Ajax.Updater
I had one point in my project where I needed a synchronous Ajax call; in other words, I wanted the Ajax.Updater call to not return until the content of my page had been updated. However, I found that if you call Ajax.Updaterwith the {asynchronous: false} option, the onComplete() function would never be called and your content would not be updated. Was this the intended behavior? I added the
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 May 16
1
Ajax.Responders and onComplete
Hi all. I''m writing some kind of filter that i want passby my all AJAX request, and I stuck. I create object and pass him to Ajax Responders like this: var myGlobalHandlers = { onCreate: function(){ Element.show(''loading''); }, onComplete: function(request) { alert(request.responseText); } };
2006 Feb 21
0
Odp: RE: Ajax reqest and http status
Hi Marco. I now that the way prevent IE caching AJAX call is to link to parameters one parameter which will be complete random. Bur here is much important question. I using ajax call to connect url which is accesible only if user is logged (i mean there is a user session). Somethimes session expired and url is not accesible and there is redirect to other url i see that server return code 302 but
2006 Jun 20
5
Multiple Ajax.Request or Ajax.Updater
I''m having a problem with multiple Ajax.Updater instances. I have five small chunks of data being loaded into my homepage, and they seem to be firing off one at a time. So the pieces load up in the order they were called. Maybe I''m being a noob, but shouldn''t all those requests just fire away and then place the content as it gets received? I was doing multiple versions,
2005 Oct 18
3
Ajax.Request / XmlHttpRequest details
Does anyone know a good reference for the various statuses that XmlHttpRequest''s readyState property can have? I mean, I know what the states are, but I''m unclear on the circumstances under which each occurs... In a simple test I wrote, I''m seeing the loaded, interactive and complete states (i.e. my Ajax.Request instance calls its onLoaded, onInteractive and
2006 Feb 20
1
[Prototype] onSuccess Event and Ajax.Updater bug in IE
Hi all, Is there a known bug with Ajax.Updater not working in IE6? I''m having trouble with a Autocompleter control that calls a function that contains an Ajax.Updater as an AfterUpdateElement callback. It works fine in firefox, but I don''t think Ajax.Updater gets called under IE. http://pastebin.com/563889 1. function updater(input, item) { 2. var
2005 Sep 19
0
AJAX update_method support
Hello everyone, I ran across http://www.mattmccray.com/archives/2005/03/25/the-right-way/ as a possible solution for a bug I''ve been having with IE 6 with Prototype 1.3.1. He submitted this patch to RoR http://dev.rubyonrails.com/ticket/941 and it seems it was fixed in RoR and works correctly. I''m not a RoR user, but use Prototype with Perl and wondered if there were any
2006 Feb 21
1
RE: [Prototype] onSuccess Event and, Ajax.Updater bug in IE
Joe, After removing all occurrences of charset=utf-8 from my headers I am still getting the same bug in IE. Currently, it''s Content-Type: text/html Any other suggestion? Nathan. > Message: 2 > Date: Mon, 20 Feb 2006 09:13:57 -0500 > From: "Joe Hudson" <joe-x8g0hQFNjJhWk0Htik3J/w@public.gmane.org> > Subject: RE: [Rails-spinoffs] [Prototype] onSuccess Event
2006 Aug 02
9
RJS not cross browser compatible?
I have an RJS template that does the following page.insert_html :bottom, "some_id", ''<tr id="some_id"><td></td></tr>'' This works just find in safari and firefox. In IE and Opera it doesn''t work so great. Any ideas? Am I doing something wrong here? -- Posted via http://www.ruby-forum.com/.
2007 Sep 29
0
Ajax.Updater doesn't work with IE6 properly
My environment is Apache2+php5. The test doc is "ajaxtest.php", which uses Ajax.Updater to load content from /test/test1/inphp.php. It works soomthly in Firefox. But nothing can be displayed in IE6, the brower got no response and the onComplete was not trigered. However, if I put the two doc under the same dir, everything goes well. Or, if I replace the inphp.php with a html doc such as