I'm trying to make shortcut with javascript. It works with FF but not with IE8. I'm using this code -
document.onkeydown=function(e)
{
if(e.which == 83)
{ alert("hello"); }
}
Please give me a simple code which will support all browsers. Thanks