Thanks for that, I haven't tried it yet. Does that mean we can now override the error and beforesend method? What happens when there is a redirec? Your documentation hasn't been updated, so not sure what the default behaviour is?
I actually temporarly solved it using this: cluetip plugin - Need beforeSend() and error handling override http://groups.google.com/group/jquery-en/browse_thread/thread/74ed458... But I will have a go at your new implementation to see how it works Thanks again Dotnetshadow On Apr 18, 3:24 am, Karl Swedberg <k...@englishrules.com> wrote: > Okay, tested the new version and it seems to be working well. Please > give it a shot and let me know if you run into any problems: > > http://github.com/kswedberg/jquery-cluetip/tree/master > > thanks! > > --Karl > > ____________ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Apr 17, 2009, at 10:30 AM, Karl Swedberg wrote: > > > Thanks a lot for bringing this to my attention. I'm working on this > > one now. I think I have something in place, but need to test it. > > Basically, all the ajax callback functions will execute the one > > passed in through the options object first, before anything that > > needs to be done within the plugin itself. The only exception will > > be the error callback, which will override the plugin's function. > > > How does that sound? > > > I'll post an update when I think I have something working. > > > --Karl > > > ____________ > > Karl Swedberg > >www.englishrules.com > >www.learningjquery.com > > > On Apr 16, 2009, at 8:51 PM, DotnetShadow wrote: > > >> Hi there, > > >> I've been using cluetip calling an ajax page. The problem I am > >> finding > >> is that the ajax page is part of forms authentication so if this > >> expires and a person hovers over an element to display the cluetip it > >> will try and request the ajax page but come up with NTLM prompt. > > >> How can I detect that the ajax page tried to redirect to login page > >> and suppress the NTLM username/password prompt? > > >> Regards DotnetShadow