I have a click event properly fired on IE and Chrome, but not on Firefox.
My code:
sender.bind("open", function () {
var $openButton = sender.wrapper.find('.k-i-arrow-s');
$openButton.addClass('active');
$(document).delegate($openButton, "click", function () {
sender.close();
sender.input.blur();
});
});
The problem is that the delegate on Firefox is fired at the very first time when click event is registered! I also have tried on() and bind() and the same happened.
Explaining the code:
It's a Kendo MultiSelect control. When it opens I have to register a click event to $openButton object, that's all.
Any idea?
Here is the dojo: http://dojo.telerik.com/eSOBo
To test click on the arrow!
Best regards
Daniel