-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0 wip: data-toggle=collapse with radio-buttons #1060
Comments
Can you make a js fiddle with the example? It's much easier for Mark and Jacob to test the issue. |
Thanks for the hint. |
It doesn't work as in the click handler, it's preventing the default handling of the event: https://github.com/twitter/bootstrap/blob/2.0-wip/js/bootstrap-collapse.js#L130 Removing that line would cause the page to jump in the example in the docs since the links use the hash. |
so i've changed it to only prevent default for targets specified with href, so this should work now for you |
great. thx! |
Using appcache is complicated and can have unexpected consequences if you do not have a good grasp of the spec. The way that this project suggested using appcache was likely to be problematic. Ref twbs#1060
I am not too sure wether it is still an issue with bootstrap v 2.2.2. I am trying to toggle a content on selection of a radio button. I have not used 'href' as commented by @fat above. Here is my code http://jsfiddle.net/kQZ59/26/ . Any inputs ? Thanks .. |
Radio-Buttons dont work properly with data-toggle.
Collapse is working, but the radio-button state wont change.
Example:
The text was updated successfully, but these errors were encountered: