function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi,
If you want to close the pop-up window by clicking on the button present in pop-up window then, you have to write the below code in javascript
<script>
function ClosePopup()
{
window.parent.close();
}
</script>
<apex:commandButton id="btn" oncomplete="ClosePopup();" value="Submit" />
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
Hi,
If you want to close the pop-up window by clicking on the button present in pop-up window then, you have to write the below code in javascript
<script>
function ClosePopup()
{
window.parent.close();
}
</script>
<apex:commandButton id="btn" oncomplete="ClosePopup();" value="Submit" />
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.