Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
24 Jul 2011mahesh__kumar__sharma
function SetDefalutButton(e, buttonid){ var evt = e ? e : window.event; if (evt.keyCode == 13)/*Search if user hit enter key*/ { var bt = $('[id$='+buttonid+']'); if (bt.length > 0) { if (evt.keyCode == 13) { ...
20 Jul 2011Bahram Ettehadieh 2 alternatives
By putting your intended content in a division as bellow, the button you set as default button will be hit when you hit enter button on any element which is in the division.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.