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 currently does as the button is within the li.

Click events bubble. If you don't want them to, cancel bubbling.

Your markup is invalid, it has several serious errors. In particular,
a form can't be a child of a span element, nor can an input be a child
of a form element. Use a validator:

  <URL: http://validator.w3.org/#validate-by-input >

[...]

--
Rob

Reply via email to