We are using multiple RadEditor controls on a single page. We need to add an event handler to the focus event for each editor. This code is working fine in Internet Explorer, but it is not working in Firefox.
Here is the code:
Neither the focus or blue alerts are firing.
Any suggestions?
Here is the code:
var OnTelerikClientLoad = function(editor, args) {
var element = document.all ? editor.get_document().body : editor.get_document();
$telerik.addExternalHandler(element, "focus", function(e) {
alert("focus!");
});
$telerik.addExternalHandler(element, "blur", function(e) {
alert("blur!");
});
}Neither the focus or blue alerts are firing.
Any suggestions?
