Tuesday, June 10, 2014

How to increase Height of accordion 100% in JQuery?

100% means height should be expanded based on height of the content. You can do that by following way.

    <script>
        $(function () {
            $("#accordion").accordion({
                collapsible: true,
                heightStyle: "content"

            });
        });        
    </script>

1 comment:

  1. Greate article. Keep writing such kind of information on your site.
    Im really impressed by your blog.
    Hey there, You have done an incredible job. I'll definitely
    digg it and individually suggest to my friends. I'm confident they
    will be benefited from this web site.

    ReplyDelete

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 ...