Created
October 24, 2013 13:31
-
-
Save jimoconnell/7137398 to your computer and use it in GitHub Desktop.
This is a way to freeze the jQuery Accordion, but not have it all greyed-out.
For our purposes, it should allow the embedding of modal forms in the accordion panels, but keep the user from hiding or destroying an unsaved form.
Try it on the console of this page: http://jqueryui.com/resources/demos/accordion/default.html JSFiddle at: http://jsfid…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#accordion").accordion( "disable" ); | |
$("#accordion").removeClass("ui-state-disabled"); | |
$("#accordion").find("*").removeClass("ui-state-disabled"); | |
$("#accordion").accordion( "enable" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment