+ Start a Discussion

Parent Page is not getting refresh after closing child window in IE8

Hi Guys,


I have an issue here related to the refreshing detail page after closing a child page.I have a custom button on the Opportunity detail page .If i click on it then a vf opens ,after closing this page i want to refresh opportunity detail page .I wrote some javascript code this is fine working for firefox and chrom but not  IE8 .When i click this in IE8 ,it opens new opportunity detail window instead of refreshing parent.


// Java script code

//Fine in ff and chrom but not IE

window.opener.location.href ='/'+id;


please help me out.