[jQuery] Re: Problems with finding parental a-tag

2009-01-19 Thread Stephan Veigl
how about: $(.thisClass).parents(a); by(e) Stephan

[jQuery] Re: Problems with finding parental a-tag

2009-01-19 Thread Klaus Hartl
First of all, you need to fix your HTML. An anchor is an inline element and may not contain div, p etc. This may give you unexpected results cross-browser and scripting on top of an invalid DOM is not a good idea to begin with. --Klaus On 19 Jan., 12:11, Christoph Neymeyr christ...@uddebo.net

[jQuery] Re: Problems with finding parental a-tag

2009-01-19 Thread Christoph Neymeyr
Thanks for the help! Stephan - this solved it, sorry that I missed this basic one. Klaus - yes, you´re of course right, just typed this to illustrate my problem to make people to get the point. Thanks for your reply though. Christoph