You need to sign in to do that
Don't have an account?
hegde_hegdek
Not able to close the visualforce window with command ClosePopup()
Hello Friends,
Not able to close the visual force window using the following code
<apex:page >
<script>
function CloseWindow()
{
var winMain=window.opener;
if (null==winMain)
{
winMain=window.parent.opener;
}
winMain.closePopup();
}
</script>>
<apex:pageBlockButtons >
<apex:commandButton value="Cancel" onclick="CloseWindow()"/>
</apex:pageBlockButtons>
</apex:page>
any help please
regards
hegdek