Does anyone know of an onHide() event or something similar in jQuery?
I tried:
$(this).bind(\'hide\', function(){ console.log(\'asdasda\') })
There isn't a native or built in "hide" event but if you are using jQuery to hide it you can easily add a hide event:
var _oldhide = $.fn.hide; $.fn.hide = function(speed, callback) { $(this).trigger('hide'); return _oldhide.apply(this,arguments); }