Skip to main content

Posts

Showing posts with the label refreshing parent window through javascript in salesforce

Closing the child window and Refreshing parent window.

As we all know there are many window properties are available so it is quite easy even i had thought same thing but while implementing i faced many issue so i thought of sharing . Below are few window property which are useful. ·          window.opener  refers to the window that called  window.open( ... )  to open the window from which it's called ·          window.parent  refers to the parent of a window in a  <frame>  or  <iframe> ·          window.top  refers to the top-most window from a window nested in one or more layers of  <iframe>  sub-windows. Lets say there is button on account "Change Account Name" ,On clicked one popup is opening and which would allow you to change Account name and one button "Save" is there in popup window. On clicked child window will be closed and acco...