jQuery Default Button Plugin Examples

A small jQuery plugin that lets you assign a button to an element you specify, which will be clicked when you press Enter key inside that element.

DIV 1 ❤️ Button 1

Pressing enter in either of these textboxes will press Button1.

DIV 2 ❤️ Button 2

Pressing enter in either of these textboxes will press Button2.