search for: on404

Displaying 6 results from an estimated 6 matches for "on404".

2006 Feb 21
1
on404 Event
is it possible to prevent the onSuccess Event after an on404 _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
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
2005 Oct 03
0
Prototype Ajax.Request (onLoading and onSuccess) question
...onSuccess: myxa.updateCalendar, onFailure: function(t) { alert(''onFailure: '' + t.statusText); myxa.removeCalendar(t);}, on404: function(t) { alert(''on404: '' + t.statusText); myxa.removeCalendar(t);} } ); }, onLoading: function() { var calTable = $(''calendar'').getElementsByTagNam...
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
2007 Jun 07
0
Prototype 1.5.1 Content-Type Header
...ders: [''Content-Type'',''text/ xml;charset=UTF-8'',''SOAPAction'',''""''], postBody: xmlDocument, // Handle successful response onSuccess: function(t) { alert(t.responseText); }, // Handle 404 on404: function(t) { alert(''Error 404: location "'' + t.statusText + ''" was not found.''); }, // Handle other errors onFailure: function(t) { alert(''Error '' + t.status + '' -- '' + t.statusText);...
2005 Sep 25
14
script.aculo.us 1.5 release candidate 1
So, the first script.aculo.us 1.5 release candidate is out! Important changes and fixes from 1.5_pre4 (for a detailed list, see the CHANGELOG file): * Droppables w/greedy and hoverclass are now reverted when dragged item is no longer over them, fixes #2184 * Let Effect.Highlight correctly parse IE colors, add String.prototype.parseColor() for this, fixes #2037 * Make scriptaculous.js work