Hotkeys in jQuery

Download retired

The original archive for this project is no longer available for direct download. These archives were published as educational reference material and are not actively maintained. We removed the download rather than keep distributing material we no longer support.

The full tutorial, screenshots, database structure, and feature documentation on this page remain accurate as a reference for building your own version. Full editorial position at the source code disclaimer. Questions: support@itsourcecode.com.

Hotkeys JqUERY2

This time, let’s tackle about Hotkeys jQuery plugins. Hotkeys is a plug-in that easily manipulate and catch all keys event of a keyboard.

With this, you can create an event handler depending on what situation in the method. You can also create any key combinations of a keyboad that support the process you have created.

 

Let’s begin:

 

  • Create a page and name it “demo.html“.
  • Do the following codes for the design of a page.
<html>
 <head>
 <title>Hotkeys Jquery Plugins</title>
 <style type="text/css">
 input{
 width: 100px;
 height: 30px;
 font-size: 14px;
 }
 </style>
 </head>
 <body>
 <h3>Hotkeys</h3>
 <table>
 <tbody>
   <tr>
    <td><input type='text' id='input'></td>
   </tr>
 </tbody>
 </table>
 </body> 
</html>
  • Set the following jQuery Plugins.
<script src="jquery-1.4.2.js"></script>
<script src="jquery.hotkeys.js"></script>
  • Finally, create a script for the key events of a keyboard.
<script>
 $(document).ready(function(){
 
 this.value = this.value.replace('a', 'b');
 });
 });
</script>

 

Another Example:

 

HOTkEYSJqUERY

 

Note: This example is available in sourcecode file.

For all students who need programmer for your thesis system or anyone who needs a sourcecode in any programming languages. You can contact me @ :
Email – jannopalacios@gmail.com
Mobile No. – 09305235027 – tnt

 

Download retired

Leave a Comment