PM's Blog

Pramod Mohanan's notes about ASP.NET, MVC, C#, SQL, jQuery, Bootstrap

accordian

Simple Accordian using Jquery

The following jquery script can be used to create an accordian effect. Add the class 'handler' to the clickable element and 'expandable' to the element that needs to be toggled. <script type="text/javascript">   $(document).ready(function () {     $(".expandable").hide();     $(".handler").click(function () {       if ($(this).siblings(".expandable").css("display") == "none")       { […]
PM's Blog © 2018