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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top