Tuesday, June 10, 2014

How to keep jQuery UI Accordion collapsed by default?

You can do that by setting attribute -> "active: false".

    <script>
        $(function () {
            $("#accordion").accordion({
                collapsible: true,
                active: false 
            });
        });        
    </script>

No comments:

Post a Comment

React-select is very slow on larger list - Found solution - using react-window

 I had more than 4000 items in searchable dropdownlist. I have used react-select but it was very slow. finally I found complete solution to ...