[jQuery] Re: grabbing event.target & using it load - no longer works for me in 1.1.4+

2007-09-15 Thread skatta
Thanks much Brandon! On Sep 14, 11:05 am, "Brandon Aaron" <[EMAIL PROTECTED]> wrote: > I think you want to get the event.target.href. You are passing the whole > element which is an A tag. Which its toString() method reports the href > value and is why the ""+event.target works. > > var resultlin

[jQuery] Re: grabbing event.target & using it load - no longer works for me in 1.1.4+

2007-09-14 Thread Brandon Aaron
I think you want to get the event.target.href. You are passing the whole element which is an A tag. Which its toString() method reports the href value and is why the ""+event.target works. var resultlink = event.target.href; -- Brandon Aaron On 9/14/07, skatta <[EMAIL PROTECTED]> wrote: > > > ye

[jQuery] Re: grabbing event.target & using it load - no longer works for me in 1.1.4+

2007-09-14 Thread skatta
yeah, was weird though ... it worked up to 1.1.3 here is what it was - it was simply a click to a link, grabbing the target ... link like this - http://example.com/"; class="partInfo">link if ($(event.target).is('.partInfo')) { var resultlink = event.target; // then load it } On Sep 14, 10:

[jQuery] Re: grabbing event.target & using it load - no longer works for me in 1.1.4+

2007-09-14 Thread Stephan Beal
On Sep 14, 3:22 pm, skatta <[EMAIL PROTECTED]> wrote: > $(".dataWin").hide().load(resultlink); > > this works ... > > $(".dataWin").hide().load(""+resultlink+""); resultlink is aparently a non-String object of some type which is not accepted by load(). Your second line (the one which works) is ca

[jQuery] Re: grabbing event.target & using it load - no longer works for me in 1.1.4+

2007-09-14 Thread skatta
i found a fix but i'm unsure why it's a fix and still not sure why it's a problem, is this a bug? this doesn't work ... $(".dataWin").hide().load(resultlink); this works ... $(".dataWin").hide().load(""+resultlink+""); On Sep 13, 8:12 pm, skatta <[EMAIL PROTECTED]> wrote: > i have a simple