Using Function Keys (F1-F2-F3 etc) in ASP.NET Websites with the help of jQuery
Introduction Download Last day when I saw a banking website that supports the function keys I thought to write a post on this topic. I don’t know what platform they (bank) are using but I thought to write it in ASP.NET. I am going to consume the jQuery methods to make it possible. So, follow the steps to create this application. Step 1 Add the reference of jQuery file in the head section of the page, for example: < script type ="text/javascript" src ="Scripts/jquery-1.4.1.min.js"></ script > Step 2 Add following jQuery method in the head section of the page. < script type ="text/javascript"> $( function () { $(document).keyup( function (e) { var key = (e.keyCode ? e.keyCode : e.charCode); switch (key) { case 112: navigateUrl($( 'a[id$=lnk1]' ));