Re: [jQuery] Getting href attribute from parent element

2006-08-26 Thread David
I was linking to the previous release. So no bug. sorry. David ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Getting href attribute from parent element

2006-08-26 Thread David
> > Can you provide an example where this occurs? It'll help me to debug the > issue. > > I just started a blog about my programming adventures. It's going to be mainly in Dutch but i added a post in English for the example. http://xwerocode.blogspot.com/ ps: it's not an advertisment for my

Re: [jQuery] Getting href attribute from parent element

2006-08-26 Thread John Resig
David - Can you provide an example where this occurs? It'll help me to debug the issue. --John On 8/26/06, David <[EMAIL PROTECTED]> wrote: > I want to get the value from the href attribute from a parent element. > My code is : $(this).parent().attr("href"); , but this doesn't work. I > don't un

[jQuery] Getting href attribute from parent element

2006-08-26 Thread David
I want to get the value from the href attribute from a parent element. My code is : $(this).parent().attr("href"); , but this doesn't work. I don't understand it because for the same parent $(this).parent().html(); gives me the expected output. Any thoughts on this ? Thank you. David