Home >Web Front-end >JS Tutorial >JavaScript pops up a child window and passes the value to the parent window_javascript skills
New parent window page:
Add the following script
Create second.html page:
The above is all I have done to implement this simple function. I feel that there should be a more convenient method. If anyone knows about it, please leave a message.