Home >Web Front-end >JS Tutorial >If the button does not write type=button, it will cause submission when clicked_javascript skills
There is something very strange: I clicked a button in a pop-up window, and unexpectedly the pop-up window disappeared. After debugging by the company's js master, I discovered the secret