[jQuery] Re: Show/hide toggle hides form too...bah!

2008-05-24 Thread Ridge
; type to attach it to, or a > specified replacement, I can't see what will handle clicking on the Go > apart from the div.col handler. > Basically I can only see one click handler - the div.col one - for > handling *any* click on *any* element within div.col, so if you want >

[jQuery] Re: Show/hide toggle hides form too...bah!

2008-05-23 Thread Ridge
){ > $(this).siblings('.selected').andSelf().toggleClass('selected'); > } > return false; > }); > > And you should ensure that your form covers div.col entirely. > > On May 23, 5:29 pm, Ridge <[EMAIL PROTECTED]> wrote: > > > Ka

[jQuery] Re: Show/hide toggle hides form too...bah!

2008-05-23 Thread Ridge
ry object, so it's always "truthy." > > The second returns a boolean. Will be true if the target element is > not a form. > > --Karl > _ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On May 23, 2008, at 10:27 AM, Ridge wrote: >

[jQuery] Re: Show/hide toggle hides form too...bah!

2008-05-23 Thread Ridge
.andSelf().toggleClass('selected').end().end(); > } > > }); > > Seehttp://www.learningjquery.com/2008/03/working-with-events-part-1 > for more complete coverage of this. It's where I learned it. :) > > ~Pyro > On May 22, 3:55 pm, Ridge <[EMAIL PRO

[jQuery] Show/hide toggle hides form too...bah!

2008-05-22 Thread Ridge
I have this page: http://tinyurl.com/5hascg. I'm using JQuery for a few things - :hover on the main content blocks, form validation, and show/hide. By themselves, everything is working great! But it's the interoperability of the last two that are causing me a headache. When you click anywhere in