I used JavaScript to open a new window (child) when the user clicks a button from the parent window.
In a new window (child) I have a text field and a button, I need to get the value of the text field and go to the parent window, when the user clicks the button, closing the child window, I need an updated value inserted into the parent window (without updating the parent window) so I can display my value for some hidden field / label of the parent window, how can I do this?
1 parent window has a button, an open child window 2-child window has a text field and a button, when the button is pressed, the child will send a message to the server to update the database, and then transfer the value of the text field to the parent window without updating the parent window and close the child window .
How can i do this? Can this be done using simple JavaScript? If I do this using jquery, will I have more benefit? Can anyone advise how I can do this?
javascript jquery popup
i need help
source share