How can I turn off Visual Studio 2013 Preview? [duplicate]
From the menu go to Tools -> Options then navigate to Environment -> Tabs and Windows and uncheck the Preview Tab checkboxes.
From the menu go to Tools -> Options then navigate to Environment -> Tabs and Windows and uncheck the Preview Tab checkboxes.
Use onkeydown (or onkeyup), not onkeypress Use keyCode 90, not 122 function KeyPress(e) { var evtobj = window.event? event : e if (evtobj.keyCode == 90 && evtobj.ctrlKey) alert(“Ctrl+z”); } document.onkeydown = KeyPress; Online demo: http://jsfiddle.net/29sVC/ To clarify, keycodes are not the same as character codes. Character codes are for text (they differ depending on the … Read more