Hi,
I am using javascript to close my child window and after closing child window, i want to refresh parent window.
So, this is the script function i am using,
This is the commandbutton code i am using,
<h:commandButto n value="OK" onclick="closeA ndRefresh()" />
So, How to resolve this......
Thanks,
Vinutha
I am using javascript to close my child window and after closing child window, i want to refresh parent window.
So, this is the script function i am using,
Code:
<script language="JavaScript">
function closeAndRefresh()
{
window.opener.location.href="#{facesContext.externalContext.requestContextPath}/main/billing/billRecords.jsf";
self.close();
}
</script>
<h:commandButto n value="OK" onclick="closeA ndRefresh()" />
So, How to resolve this......
Thanks,
Vinutha
Comment