But the onFailure is fired when an error occurs on the request, i don't get
your point.... :S

Fábio Miranda Costa
Engenheiro de Computação
http://meiocodigo.com


On Fri, May 22, 2009 at 10:50 AM, Thierry bela nanga <[email protected]>wrote:

> I'll add something to this,
> I'm using Request.JSON to send data, if the request uses POST, then I
> recover the page with a blocking overlay that should be removed at the end
> of the request.
>
> when en error occurs while evaluating the response in Request.JSON.success,
> I have no way to handle it and the user only have to press F5 to get out of
> that situation
>
> I think propose the onFailure event should be fired there
>
>
>
> 2009/5/22 Fábio Costa <[email protected]>
>
>  Don't you guys think that the scripts inside the HTML request should be
>> evaluated after the onSuccess and onComplete events?
>> Im asking this because sometimes i need the HTML inside the received
>> response to be inject in the DOM before actually evaluating the script tags
>> into the response.
>>
>> evalScripts could be a string like 'after' and 'before', and of course,
>> for backwards compatibility, if you put true it would eval the script before
>> the onComplete and onSuccess events.
>>
>>
>> Fábio Miranda Costa
>> Engenheiro de Computação
>> http://meiocodigo.com
>>
>
>
>
> --
> fax : (+33) 08 26 51 94 51
>

Reply via email to