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.
Pressing enter in either of these textboxes will press Button1.
Pressing enter in either of these textboxes will press Button2.