key code for function key F2
Hi every one,
On F2 press in textbox keypress event i need to show a popup window. Even though i use keycode of F2 as 113, its not working. I write this ketpress event in javascript as
if(window.event && window.event.keyCode == 113)
{
popup.show();
}
but this is not working. can any one sujjest the reason or provide the suitable code for F2 press
|