I am working with jQuery in this when I try e.keyCode
For enter key like below
if (e.keyCode === 13) {
// my code
}
then it works with ie7 and all major browsers but not in ie10.
But when I use e.which
it runs in all major browsers.
What is the difference between e.keyCode
and e.which
?