A repository of over 1000 quality jQuery plugins

jQuery easykeyjs

easykeyjs is a jQuery Inputs plugin.

Created by ruidfigueiredo

A jQuery plugin that makes handling the keyboard really easy

Not what you're looking for? Click here to view more Inputs jQuery plugins

easykeyjs

Stop having to write code like this

$(document).keydown(function(e){
    if (e.which == 13) //enter
  reloadResults();
else if (e.which == 37) //left arrow
  previousPage();
else if (e.which == 39) //right page
  nextPage();
}); 

And write this instead:

$(document)
  .onEnterKeyDown(reloadResults)
  .onLeftArrowKeyDown(previousPage)
  .onRightArrowKeyDown(nextPage);

Read more about easykeyjs.

Go download the latest version http://easykeyjs.com.



You might also like these other Inputs jQuery Plugins

  • jquery-flexdatalist

    Flexible input autocomplete/datalist plugin for jQuery

  • Multipicker

    Multipicker is jQuery plugin for selecting days, numbers or other elements, it supports multi selecting (like checkboxes) or single eleme...

  • Range

    A jQuery plugin for cross browser range inputs.

 Views
 Downloads

Preview Download Github Page
License:

The MIT License (MIT)