Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to cancel change event for accordion controls

$("#accordion").accordion({
    change: function (event, ui) {
        alert('event have to be changed')
    },
    changestart: function (event, ui) {
       return false;
    }
});

Is it possible to cancel the change event?

like image 280
Simbian Avatar asked Dec 01 '10 11:12

Simbian


1 Answers

I am not sure about change but for other events in jqueryui returning false cancels the event.

like image 111
Martin Wawrusch Avatar answered Sep 20 '22 12:09

Martin Wawrusch