[jQuery] Re: trouble stopping propagation

2009-04-14 Thread gmoniey
I'm still stuck on this...does anyone have any ideas? On Apr 13, 10:35 am, gmoniey wrote: > Hi, > > I have a simple onclick function call for a div which looks like this: > onclick="showPanel(this)". > And the showPanel function header is as such: > > funct

[jQuery] trouble stopping propagation

2009-04-13 Thread gmoniey
Hi, I have a simple onclick function call for a div which looks like this: onclick="showPanel(this)". And the showPanel function header is as such: function showPanel(el) { } I also have some children in the div which are links, and I want top stop the propagation. Unfortunately, when I put a

[jQuery] Re: is it possible to do this (ignore clicks)

2009-03-19 Thread gmoniey
et).is('.mydiv')) { >     //this code will not run if you click on an element without .mydiv class >   } > > }); > > - Richard > > On Thu, Mar 19, 2009 at 5:42 PM, gmoniey wrote: > > > Hi...I have div that when clicks on expands (kinda like an > > a

[jQuery] is it possible to do this (ignore clicks)

2009-03-19 Thread gmoniey
Hi...I have div that when clicks on expands (kinda like an accordion...but multiple divs can be expanded at once) The code is something like this: $('div').filter('.mydiv').click(function () { //expand the div here (ajax call) }); Now my problem is that inside this div, there can sometimes be a