[jQuery] Re: Stop a button within an li taking the li event?

2009-12-03 Thread Rich
Thanks Rob I'll have a look into bubbling - do I cancel bubbling on the li click event or button click event? Some of the validation errors are because I simplified the html code for the purpose of this discussion but missed some tags. I wasn't aware of a form not being valid in a span so thanks

Re: [jQuery] Re: Stop a button within an li taking the li event?

2009-12-03 Thread Karl Swedberg
On Dec 3, 2009, at 7:24 AM, Rich wrote: ... not sure what you mean by an input not allowed to be a child of a form though?? For valid markup, an input can be a descendant of a form element, but not a direct child. --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: Stop a button within an li taking the li event?

2009-12-02 Thread RobG
On Dec 2, 8:33 pm, Rich reholme...@googlemail.com wrote: I have an unordered list which slidesdown to reveal a sub list on click event. In the first li there is also a button that takes you to another page. When this button is pressed I don't want the slide down to start, which it