I've created a jQuery accordion for my website, it all works very fine. But now I want to have some javascript executed when i click on a link of the accordion. In the jQuery documentation I found this solution:
$('ul.accordion').accordion().bind("accordionchange", function(event, something, ui) {
alert('ALLO');
});
Which should execute everytime the accordion changes, but untill now... no results (no alert when I click on an accordion link. Does anyone have good tips on how to do this?