Need to respond to the button on the "popup" edit form that updates or saves the record
Need to respond to the button on the "popup" edit form that updates or saves the record
I would like to know when the button that saves a new record (Create) or updates an existing one (Update) receives focus as the user tabs through the form. I need it to change an image I have on the form. I tried to use the class of the button (btn) to trigger a jquery focusin event but it doesn't seem to work.
Replies
Maybe use the
open
event to create the event handler, see the example in the docs. I created a simple example based on the docs:https://live.datatables.net/guwafemu/394/edit
Kevin
That works! Thanks so much!