kailash gaur
kailash gaur

Reputation: 1457

Table Focus event is not working in IE

I am using one event "tableFocusEvent" in YUI. It's working fine in FF but it's not working in IE.I tried to get similar event and use "focus" but that also not working. Can anyone Please help me in this. Any help is appriciated.

My code is here

myDataTable.subscribe('tableFocusEvent', test);

function test()
{
 alert("Hii");
}

Upvotes: 3

Views: 70

Answers (1)

Anupam Sharma
Anupam Sharma

Reputation: 1569

Kailash you can try this one I think this must be helpful.You have mentioned in your question that you have used focus event please check below code have you used like this way -

var items = Y.one('#items');

items.on('focus', function (e) {
    Y.log("testing for focus event");
});

Upvotes: 2

Related Questions