Home > DeveloperSection > Forums > How do i keep jQuery Accordion Collapsed by default?
Ankit Singh

Total Post:341

Points:2389
Posted on    August-23-2014 5:07 AM

 JQuery JQuery 
Ratings:


 1 Reply(s)
 895  View(s)
Rate this:
i am working with jquery ui accordion its working fine but i want to Collapsed by default all tab

here is my jQuery code

<script>
        $(document).ready(function () {
            $("#accordion").accordion({
                collapsible: true
            });
        });
    </script>




Kamlakar Singh
Kamlakar Singh

Total Post:194

Points:1396
Posted on    August-23-2014 5:11 AM

$(document).ready(function () {
            $("#accordion").accordion({
                collapsible: true,
active: false
            });
        });

Don't want to miss updates? Please click the below button!

Follow MindStick