1
Guys... I’m not using floating window and nor modal anything of the type, my TCC got a problem and in the short term to finish 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 will post my code. I’ve tried several Javascript functions but they all close the window immediately after opening. It works that way, I have a register of tax notes and in this register I have a button to include creditors of notes, when clicking on it opens a window in the browser even a separate window, so in this window the user informs the Creditor’s name of the note and its CNPJ, After insertion I want the window to be closed and then updated the Tax Notes window where you have a combobox that lists all registered creditors. Please help me out...
This is the code of the button that calls the window...
Since I didn’t know what you need... I sent the entire code from the window that opens and only the code from the button that calls it... Since I already thank.... ah another detail... I’m using bootstrap...
Even if Thomas gives the answer (I’ll put a +1) the BIGGER problem is the question. Vc CAN NOT CLOSE A WINDOW IN PHP!!!! PHP to a "server-side" language: creates Javascript HTML code. You need to perfectly understand this, because if not, you will look for the answers in the wrong place: you can spend 50 days looking for a PHP function that will close a window, when you will need only 10 seconds to find this function, if you search "close javascript window". Note Thomas’s answer: and Javascript. NAO PHP!
– Peter