[jQuery] Re: Event propagation and anchors

2008-06-05 Thread Argasek
Of course, I meant $('ul li a) instead of $('.someclass ul li a')

[jQuery] Re: Event propagation and anchors

2008-06-05 Thread jggube
Hi, Not quite sure if I understood the problem - but if you mean that you only want the certain event triggered when you click on 1st-level a tags (same level as 1 Position), what you can do is use a next selector similar to: $(ul.someclass ul + li a).click({}); This way, the .click() event

[jQuery] Re: Event propagation and anchors

2008-06-05 Thread Ariel Flesler
That's THE solution. It's (nearly) the same as using e.stopPropagation(). -- Ariel Flesler http://flesler.blogspot.com On 5 jun, 09:24, Argasek [EMAIL PROTECTED] wrote: This is my first post here, so hello to all subscribers! I have googled a bit for my problem, but didn't find exact answer