[Solved] jQuery fade elements on click [closed]
Ok I think I understood what you want. Your error comes from your strange callback function, where you define another callback function (you actually create a loop). Here is a corrected one, that should do the trick (see snippet) $(document).ready(function (e) { $(“#menu”).accordion({ collapsible: true, active: false }); $(“#stuff_header”).click(function (e) { // check if stuff_header_1 … Read more