Request.HTML has all the events that Request has. So Request.HTML has
onFailture too for example.
The cancel method is available at request.HTML too, for the reason. If its
not working i dont know, thats something that should be looked deeper.

Thanks for the info!

Best regards,

--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interface


On Fri, Sep 25, 2009 at 1:20 PM, Rajeev J Sebastian <
[email protected]> wrote:

>
> On Fri, Sep 25, 2009 at 9:47 PM, Steve Onnis <[email protected]>
> wrote:
> > I am working on some UI classes for Mootools and i have a question
> regarding
> > Request and Request.HTML.
> >
> > Currently I am using Request.HTML because there is no "update" option for
> > Request.  I have some scripts that i need getting run and some events
> being
> > attached to elements as part of those scripts and when i use Request,
> > because i cant use "update" i am having to use set("html", response) and
> > well the events dont stay attached so i have no other choice.
> >
> > It would be handy to have all the events that are attached to the Request
> > function available for Request.HTML also like onFailurre and so on.  One
> > thing i am asking now though is that i need to be able to cancel a
> > Request.HTML but the method does not seem to be available or is not
> working
> > properly.  When i am in FireBug console, i can see the request starting
> but
> > when i call cancel() on it, FireBug is still saying it is running.
> >
> > Should it show that it has been cancelled?
>
> I see the same, but I never receive a response. So I assume its
> actually cancelled.
>
> Also, Request.HTML being a subclass of Request ... all the events of
> Request should be available in .HTML too.
>
> Regards
> Rajeev J Sebastian
>

Reply via email to