Focus event not working in IE
I am using one "tableFocusEvent" event in YUI. It works fine in FF, but doesn't work in IE. I tried to get a similar event and use "focus", but that doesn't work either. Can anyone help me with this. Any help is appreciated.
My code is here
myDataTable.subscribe('tableFocusEvent', test);
function test()
{
alert("Hii");
}
+3
kailash gaur
source
to share
1 answer
Kailash you can try this, I think it should be helpful. You mentioned in your question that you used focus event, please check below code you used this way -
var items = Y.one('#items');
items.on('focus', function (e) {
Y.log("testing for focus event");
});
+2
Anupam sharma
source
to share