Question

I have been using JTable in my aspx pages and all seems well, but on a certain content page, when I try to edit or Add an item in Jtable, and by default I press Enter, the UI becomes vague. Before pressing Enter while Updating Jtable row. enter image description here

And when I press enter in order to save this:

enter image description here

All I want is to disable Enter click. And I have no input tag, no form tag so that I can specify the defaultButton in the same or I can add Javascript to disable Enter press on any control as I only have Jtable and no other textbox.

Était-ce utile?

La solution

you can use javascript to diable the option of enter pressing using this link

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top