Thanks for getting back to me,

You are correct I had to modify the script hence it was a temporary
fix, but now that I can use my own beforeSend() that makes it handy.

Does this mean the error callback can also be defined to the
ajaxSettings option?
The reason I ask is because sometimes you would like your application
to redirect to the login page if the forms authentication has expired
instead of having the message say "content could not be loaded..."

Thanks once again
DonetShadow

On Apr 18, 11:29 pm, Karl Swedberg <k...@englishrules.com> wrote:
> On Apr 17, 2009, at 11:50 PM, DotnetShadow wrote:
>
>
>
> > 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
>
> I don't really see a solution in that post, other than to modify the  
> plugin script itself, which, of course, isn't advisable. Am I missing  
> something?
>
> if you pull down the most recent version from GitHub now, you can just  
> add your own beforeSend callbacks to the ajaxSettings option.
>
> --Karl
>
> ____________
> Karl Swedbergwww.englishrules.comwww.learningjquery.com

Reply via email to