You need to sign in to do that
Don't have an account?
d.tejdeep@nicomatic.in
How to close and the open the same page?
i have same requirement what your are discussing about
<apex:commandButton value="Search Again" onclick="return window.open('/apex/customreport');window.top.close();" />
it is opening one new window and the old window is also there .
when the button is clicked it has to close the current window and apen the new window which i wrote above .answer would be great helpful
<apex:commandButton value="Search Again" onclick="return window.open('/apex/customreport');window.top.close();" />
it is opening one new window and the old window is also there .
when the button is clicked it has to close the current window and apen the new window which i wrote above .answer would be great helpful
<apex:page >
<script type="text/javascript">
window.close();
</script>
</apex:page>
Regards,
Ashish
Regards,
Satish Kumar