Skip to content

A jQuery plugin to allow setting a default element that is sent the click event when the enter key is pushed inside of an element.

License

Notifications You must be signed in to change notification settings

roncli/jquery-default-button

Repository files navigation

jquery-default-button

A jQuery plugin to easily define a default button.

Installation

You can download the /dist/jquery-default-button.min.js file into your project. You can also use npm to install it that way:

npm install jquery-default-button

Usage

See the /examples directory for an example of how to use the plugin. Note that in a normal project you will need to expose the /dist/jquery-default-button.min.js file in some way.

Version History

v2.0.0 - 8/10/2022

  • Modernized for latest jQuery.

v1.2.0 - 12/18/2011

  • Initial version posted to GitHub.

About

A jQuery plugin to allow setting a default element that is sent the click event when the enter key is pushed inside of an element.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •