I am using backbone.js with underscore.js for my web application. I need to detect the escape key event hit for a view.
I know the jquery way of doing this is by checking the event code something like (e.keyCode == 27)
on keyup, I wanted to know how to write this in events of my backbone view.
Please advice.