Menu
Hey guys,
So i want to close the child modal window when the users clicks on the a submit button that is also located in the same child modal window. I am currently using this line to open the modal window.
var entry_win= window
entry_win = window.showModalDialog(“AddPerson.htm”,”Add”, “dialogWidth=205px;dialogHeight=280px;resizab
le:yes;dialogLeft:100;dialogTop:100″);
I added self.close()and window.close() in the child modal window, but that just seemed to open another window and load the child modal page again.
Can anyone help?