I’ve been playing around with the Accordion in the JQuery UI library. I’ve created some headers and I added some buttons to them. Now I would like to be able to click the buttons without opening that section.

My buttons are in fact ASP.Net buttons that generate scripts with onclick="some scripting". This scripts still needs to be executed. Any ideas?
If they’re nested you could catch this click event before it’s bubbling up to parent elements by using
You shouldn’t use onClick in the markup, if you’re working with a JS Framework anyways