Re: [jQuery] Using $.get in a link's onClick event

2007-03-07 Thread Yoav Shapira
.get(track[this.href]); > return true; > }); > }); > > Besides, if you leave the page, there's no guarantee that the track > request is indeed send to the server and not aborted on unload. Good idea and good tip, thanks. I think that's why adding

Re: [jQuery] Using $.get in a link's onClick event

2007-03-06 Thread Yoav Shapira
}); > > }); > > and have your anchors look like this: > > Text here > > Function passed to click() scope "this" to the current element, in your case > an anchor. Sweet, thanks! Yoav ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Using $.get in a link's onClick event

2007-03-06 Thread Yoav Shapira
t tried that, but I will. It will be a little annoying because there are numerous such links and each one with its own different trackingUrl. Thanks, Yoav ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Using $.get in a link's onClick event

2007-03-06 Thread Yoav Shapira
access log. How come? The URL I'm using for trackingUrl is of the form /foo/bar.png?name=value -- is that a problem? Must the URL be absolute, including the http:// and host name? Thank you, Yoav ___ jQuery mailing list discuss@jquery.com ht

[jQuery] a bind function inspired by prototype's Function.prototype.bind implementation

2007-01-26 Thread yoav
was looking for an easy way to bind functions to objects when using jquery, and couldn't find any information about it. is there a reason for not implementing this? i found it very useful when using prototype. i've made my own implementation for jquery...it declares a bind function in the global

[jQuery] Window property error with ThickBox

2006-10-08 Thread Yoav Shapira
anted to ask here to see if anyone had helpful ideas. I see this issue was raised last month on this list (http://jquery.com/discuss/2006-September/011071/) but without a particular explanation of the root cause. Any help would be appreciated: than

Re: [jQuery] Window property error with ThickBox

2006-10-08 Thread Yoav Shapira
4.01 transitional doctype. For testing purposes I changed the page to be valid XHTML 1.0 transitional, but the behavior is the same. Again, thanks for an awesome product in jQuery, I love it. Yoav On 10/7/06, Yoav Shapira <[EMAIL PROTECTED]> wrote: > Hi, > Using the latest jquer