0

I have a jquery UI tab with checkboxes on the tab headers like so http://jsfiddle.net/bSdbG/494/

It works fine in Chrome, but in Firefox, if you click the checkbox of the tab that is currently opened, the page will be scrolled to the tab content. How can I prevent that to happen?

Erico Chan
  • 1,130
  • 9
  • 10

1 Answers1

1

You can take the input outside of the a, and then restyle using css.

http://jsfiddle.net/bSdbG/497/

The problem is that jquery's click handler for the a element is running.

Lyn Headley
  • 11,368
  • 3
  • 33
  • 35