Hello Team,
There is filter menu which get displayed when you click filter icon. Have added the code to display the same when you hit enter or space bar key . Below is the piece of code
Now once i am done i want to move the focus the tab on the clear filter icon and move to the next element . I am not able to do this. even i tried to set the focus.
Is it possible to do ?
$('.t-icon.t-filter').each(function () {
$(this).attr('tabindex', '0')
$(this).attr('title', 'Edit Filter')
$(this).live('keydown', function (e) {
var keyCode = e.keyCode || e.which;
if (keyCode == 13 | keyCode == 32) {
$(this).click(); // show the filter pop up on enter or spacebar
}
});
});