I have a modal window which closes when i add an item. The parent page will refresh once the modal window is closed. But i don’t want the whole window to get closed, but i want a particular div to get refreshed. is there any javascript way to do it ?
Share
You can call a javascript method in the parent window while closing the child window. This is very simple.
You can have a javascript method to refresh the content of the div
And in the child window, you may have some button to close that window and also can call up the parent window’s javascript