Galera ... I'm not using a floating window and neither modal nor anything like that, my CBT had a problem and for the short term, I could not use this method. What I need is a code that closes the window that was opened and updates the old one. I'll post my code. I have tried several functions in Javascript but all close the window immediately after being opened. It works this way, I have a tax invoice register and in this register I have a button to include note lenders, clicking on it opens a window in the browser even a separate window, then in this window the user informs the name of the lender of the note and his CNPJ , after insertion I want the window to be closed and then updated the Tax Notes window where it has a combobox that lists all the registered creditors. Please help me...
This is the button code that calls the window ...
As I did not know what you need ... I sent the whole code of the window that is opened and only the code of the button that calls it ... From now on I thank ... ah another detail ... I'm using bootstrap ...