[jQuery] Re: cluetip ajax authentication

2009-04-19 Thread DotnetShadow
Hi there, I just tried your local code but I seem to be having problems with the beforeSend event var c = 1; $(".ic").cluetip( { ajaxSettings: { cache: true, type: "POST", data: "{usernam

[jQuery] Re: cluetip ajax authentication

2009-04-19 Thread DotnetShadow
Hi there, I just tried your local code but I seem to be having problems with the beforeSend event var c = 1; $(".ic").cluetip( { ajaxSettings: { cache: true, type: "POST", data: "{usernam

[jQuery] Re: cluetip ajax authentication

2009-04-18 Thread Karl Swedberg
Yes, absolutely. You can add your own function to any of the $.ajax callback functions in the ajaxSettings option now. Your function will be queued first for beforeSend, complete, and success, after which the plugin's code will run. For error, however, yours will completely override the def

[jQuery] Re: cluetip ajax authentication

2009-04-18 Thread DotnetShadow
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 woul

[jQuery] Re: cluetip ajax authentication

2009-04-18 Thread Karl Swedberg
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 tem

[jQuery] Re: cluetip ajax authentication

2009-04-17 Thread DotnetShadow
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 b

[jQuery] Re: cluetip ajax authentication

2009-04-17 Thread DotnetShadow
Thanks for that, I haven't tried it yet 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/74ed458203e6147b/5e9dd005a7b349b2?lnk=gst&q=dotnetshadow#5e9dd005a7b349b2 But I will h

[jQuery] Re: cluetip ajax authentication

2009-04-17 Thread Karl Swedberg
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 Swedberg www.englishrules.com www.learningjquery.com On Apr 17, 2009,

[jQuery] Re: cluetip ajax authentication

2009-04-17 Thread Karl Swedberg
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 p