similar to: Ajax.Updater -- returning failure from a php script

Displaying 20 results from an estimated 4000 matches similar to: "Ajax.Updater -- returning failure from a php script"

2007 Jul 26
4
populate select box by ajax query with Prototype and IE7
Trying to populate a select box with a value passed in from another select box works great in Firefox, but using IE nothing happens, no data is getting returned back. I commented everything out and put alerts in there and the alerts work in IE but when ajax is getting used it seems to just die...Is this a bug or what am I doing wrong? --~--~---------~--~----~------------~-------~--~----~ You
2006 Jun 28
12
Ajax.Updater
Hi, someone can help me, I am ot able to find the way how to user Ajax.updaterto test if the request give some positive or negative result. I am able only to return the result inside a div. An example is appreciated. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2008 Feb 13
8
comparing ajax.updater div in js
This is really bugging me no matter what I''m trying. In javascript, I''m using the ajax.updater, and it (obviously) writes back out to a div. I want to then compare what was echoed out into this div (which came from the php file I listed in ajax.updater) with a string. test should equal "SomeString" because that is what is being echoed out to
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
2008 Feb 22
1
Ajax.Responders.register: onFailure not working
Hello together. I''ve tried to register an onFailure behavior for all my Ajax.Requests and .Updaters to handle a session-based timout system. On each server request via Ajax there is a check whether the user hasn''t made something for the last x minutes, and if he hasn''t, the php page throws an 403 forbidden header (via header("HTTP/1.1 403 Forbidden")). I am
2006 Feb 14
7
onFailure fails?
Hi all, I have this code: new Ajax.Request(''non_existant.file'', { onSuccess:function(){alert("yay");}, onFailure:function(){alert("boo");} }); Why does the onFailure alert never get called? It works fine if I use a real file (onSuccess gets called). Thanks, Douglas
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
2008 Jan 04
6
Ajax.Request: onFailure vs. onException
Hello All, I''m trying to capture the exception message that my server application is providing in response to my Ajax.Request. However, I''m confused as to when onFailure is fired vs. onException. The onException handler has access to the javascript exception object and I''d understood that it was only called when the dispatch fails. Not sure what exactly that means
2006 Jan 30
5
Multiple ajax calls
This is slightly OT for which I apologise in advance, but I was wondering if anyone here has had any problems when making multiple ajax calls at the same time. I''m working on a large Intranet application which makes heavy use of ajax calls and the bugs are flying in from the testers that if they repeatedly click on a link that makes an ajax call then Internet Explorer can fall
2006 Feb 21
7
accordion (outlook bar thingy) help
Does anybody have a solution that really works nice? I know about: http://wiki.script.aculo.us/scriptaculous/show/accordion%20feature but I was hoping someone had worked out the kinks. I''m really looking for something like: http://openrico.org/rico/demos.page?demo=rico_accordion Thanks for your time. Joe _______________________________________________ Rails-spinoffs mailing list
2008 May 21
6
this.initialize has no properties error in Prototype Code
Hi All, I''m a super newbie with Prototype and am trying to implement my first solution using it. This is my code: var span = ''totalViews'' + video_id; var params = ''video_id='' + video_id; Ajax.Response(''trackVideo.php'', { method: ''post'', parameters: params, onSuccess: function(transport) {
2006 Mar 03
6
[PATCH] Effect.Accordion (not from the wiki)
Hello boys and girls In the ever-loving spirit of OSS, here''s another feature for s.a.u. In particular it''s called Effect.Accordion, and is a scriptaculified version of openrico''s Accordion. Work in progress, I''ll submit further modifications as the come in, but this is 90% of what needs to be done. I anticipate some bugs when I start using it more. Tested
2008 May 07
10
a little problem with prototype and IE7
''m from cartagena Colombia(south america) .... i''m learning prototype, i have a little problem using Ajax.Updater. i have this code in html page : <head> <script src="prototype.js" language="javascript" type="text/ javascript"> </script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"
2005 Oct 11
5
show message while loading - ajax
Hello, Could anybody please tell me how I would show a message or an image while the ajax request gets processed? thank you in advance for your help. this is what I came up with but it doesn''t really work: function getHTML() { var url = "./scripts/rfiles.php"; var par = ""; var myAjax = new Ajax.Updater("fm-viewdetails", url, {method:
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question.. I often crash my Safari when using ''Enter'' on InPlaceEditor''s for submitting. Works fine on firefox(win & Mac) - no javascript errors. Anyone else seen this behavior? (Maybe it is just my alterings of InPlaceEditor :-) Best Regards Michael Krog
2005 Nov 20
3
rounded corners in rails apps ?
Hi all I like very much rounded corners and often used thee well known nifty Javascript approach for that, Recently I discovered Rico ( http://openrico.org), which does the same and is much simpler to use (don''t require additional css files) and is based on prototype.js. This is all very nice, but there is currently one problem, the latest Rico library seems to require prototype 1.3.1,
2006 May 24
5
Ajax.RssReader object
Hi all, I''m happy to announce that I''ve completed the first version of my Ajax.RssReader object. It needs some extra''s, but the basic functionality is now available. You can download it from http://www.sayoutloud.com/javascripts/rssreader.js Usage: function myCallbackFunction( rss ) { alert(rss.channel.title); for(n=0; n<rss.items.length; n++) {
2007 Jun 09
23
hoverclass on droppable zone
Hi guys, I''m trying to make a drag''n''drop portal using sortable element. I would like to apply the "hoverclass" option only on the droppable zone instead of the column border. Any idea a about the solution? Thanks for any help, Sabri --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2007 Mar 13
3
showResponse() Callback not being called in Firefox
Hello All --- I am using the AJAX Object to send form data to a PHP page. In IE, I am able to get a call back thru the showResponse(); However, in Firefox, the callback never gets executed. Here is my code: function showResponse() { alert(''Thank You. Your information has been sent''); } function processForm() { var url = "sendEmail.php"; var name =
2011 Aug 29
3
Speex VAD always returning 1
From 1.2rc1 source code: preprocess.c: /* FIXME: This VAD is a kludge */ st->speech_prob = Pframe; if (st->vad_enabled) { if (st->speech_prob > st->speech_prob_start || (st->was_speech && st->speech_prob > st->speech_prob_continue)) { st->was_speech=1; return 1; } else { st->was_speech=0; return 0; } } else { return 1; } AND case