similar to: Updater and PeriodicUpdater fighting with one another

Displaying 20 results from an estimated 3000 matches similar to: "Updater and PeriodicUpdater fighting with one another"

2006 May 02
6
Stopping the Ajax.PeriodicalUpdater -- My Kludge?
Well, I''ve been burning the midnight oil trying to figure out how to issue the stop() command to a PeriodicUpdater. I''ve come up with a solution that uses setTimeouts to call the stop function. I think my solution is very kludgey... especially since I''m new to Javascript + Prototype. Can anyone let me know if the below code is at all proper? :) --------- Summary: A
2006 Feb 27
0
Example code for select_from_db (a.k.a. combo box)
I''m not asking for help this time! :) :) In almost every Rails project I create, I find that I want a select() popup menu that is pre-populated by data from the database. Also, I want an "Other..." option that presents a text_field_tag to input another (not presented) option (basically a combo-box). In an attempt to be as DRY as possible, I''ve come up with
2006 May 05
0
Re: Javascript Event Handler for Chat App
anyone? Hi guys, I''m stuck with this perplexing problem of Javascript and periodic updater. I''m trying to do a chat application and it''s an issue of holding on the the div id. I have no problems when the user clicks on a submit button to sends a message to the presence server. On the other side of it though, I''m using periodicupdater to poll the server
2007 Mar 26
2
Issue generating XML with hyphenated element names
Hello... I''m trying to generate and XML file using .rxml and I''m having a problem with element names that contain a hyphen. Here is a chunk of the .rxml file: xml.instruct! :xml, :version=>"1.0" xml.properties do @properties.each do |p| xml.property do xml.location do xml.street-address(p.street_address) xml.city-name(p.city) .. end end end
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 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
2007 Dec 17
1
Some more updates, enhancements and fixes
Hi Folks, Well, Yesterday I pushed some more updates that I was cooking since last couple of days. Here is a brief list: 1. Results from worker stays even after a worker dies. 2. You can ask backgroundrb to store status objects in memcache cluster now. by default its stored in master process memory, but I have introduced an option to allow it to be stored in a memcache cluster:
2007 Sep 17
5
Script.aculo.us effect queues & Ajax.Updater()
Hey guys, I''m new here and just checked out Prototype with Script.aculo.us and have to say it''s a great experience once you get the concept. However, I''m not very experienced with JS so I''m a bit stuck on something I think is quite easy to solve: What already works: A searchfield is observed by a DelayedObserver, a list of contacts is updated vie Ajax updater.
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,
2008 Apr 29
1
Making new Ajax.Updater within a previous Ajax.Updater call
I have a button which calls a form via Ajax.Updater: <a href="javascript:void()" onclick="createMessage()">Create Message</ a> <script> function createMessage() { new Ajax.Updater( ''content'', ''message.php'', { method: ''post'' } ); } </script> This is the message.php file: <html> <head>
2006 Feb 28
5
browser-crash with Ajax.Updater
Hi, on my page I start an ajax-request which returns rhtml-code (I use Rails) looping over some objects. When I place the following code within the loop my browser (FF) crashs: <script> var set_std_objekt = function (id) { new Ajax.Updater(''divname'', ''/dosomestuff'', { asynchronous:true, evalScripts:true }) } </script> <a
2005 Oct 20
4
cross-fade effect on elements updated by ajax.updater?
Hello. I was wondering if anybody could point me in the right direction of creating a cross-fade effect for Ajax.Updater. If you have an element that gets replaced by a new one with Ajax.Updater, how can we blend one into the other? Many thanks. Tench
2005 Dec 05
3
Effect.Highlight on Ajax.Updater
Hello to all list members... Exchuse for my bad english, I don''t write english very well. I''m searching for a solution to hilight a div when his value change. The value in these div is take from Ajax.Updater . the code is: new Ajax.Updater(''acc'',''tools/head_info.php'',{asynchronous:true}); and have a settimeout to recall it every 5 seconds.
2006 Feb 16
2
javascript node with Ajax.Updater
Hi there, im having a problem with the Ajax.Updater, im using the Ajax.Updater to get an divider, inside the div i have a javascript node that i use to do javascript stuff, the problem is when i get the divider i get whole the html but not the javascript node, thats a bug? *anybody know what''s happening?* -- // // Ing. Francisco J. Calderón S. //
2007 Dec 17
6
Checkbox array and Ajax.updater
Hello all, I have some checkbox array like these: <input type=checkbox name=list[] value="1">Java<br> <input type=checkbox name=list[] value="2">JavaScript<br> <input type=checkbox name=list[] value="3">ASP<br> <input type=checkbox name=list[] value="4">HTML<br> <input type=checkbox name=list[]
2007 Jun 19
4
Can't load swf files with Ajax.updater
Hello, When I use the normal object tags to embed a swf file, the flash file turns out blank by using the ajax.updater function to load a swf file (both IE and FF). With swfobject nothing comes up at all. Is this a bug or is there another (better) way to load a flash file by using updater? Thanks in advance! --~--~---------~--~----~------------~-------~--~----~ You received this message
2006 Mar 22
2
problem with Ajax.Updater evalscript and firefox
Hello there people, im having a problem with the Ajax.Updater evalscripts, i fill and div with a form that i get with the Ajax.Updater, that form had a javascript validation, i put evalScripts true but when i get the form i had an unexpected close in the firefox, i had a long time looking the answer but nothing yet, somebody with the same problem? or the answer? greets -- // // Ing. Francisco
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 Jun 27
1
Prototype 151; Ajax.Updater vs Ajax.Request and evalScripts=true
Why does Ajax.Updater() and Ajax.Request() differ in how evalScripts is handled? Or doesn''t it, and I just got it wrong? I have a module that generates an Ajax request to insert dynamic content into a div. The dynamic content is plain vanilla HTML with some inline javascript *functions* I cannot get the browser to honor/execute/see those javascript functions when I use .Request() If I
2008 Mar 22
4
Ajax.Updater not fully work in IE7
My code snapshot: correct work in FF , Opera and Safari, but in IE7 - isn''t return result <form action="test.php" method="POST"> <div id="country" style="border: 1px solid #ccc; width: auto"></div> <br/> <a href="javascript:getTest()">test</a> </form> <script