In my jsp on clicking a button, I am showing a pop up window with using javascript. The pop up contents are displayed using another 3rd party site.
The pop up is having a close button and on closing the pop up, I need to hide or not display the button in jsp. How do I handle this?
In my jsp on clicking a button, I am showing a pop up window
Share
If you’re also using JQuery, you can just get the id/class of the button and add the following to the js function called by your button: