Tell me, there is input . It is necessary to catch an event when data entry in the field is completed. This event will update the record in the database and remove the lock. Input is considered complete, the user clicked outside the field on this page, well, or clicked the tab . In general, off the record. I cannot do the button, it is necessary to process the field.
The problem is that onchange , like focusout , works if you leave the tab or minimize the browser. I understand that with these actions, the field focus is probably lost and onchange launched. But if the window opens back to the page with the field, the field has a focus and a carriage where it was when it was folded, and this gives hope that something can be done.
How can you get out of the situation, is there any way not to trigger the event when the browser is minimized?
Thank!