Created
May 14, 2015 07:40
-
-
Save xgeek-net/c9c3a7958974d31bdf0b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page standardController="Sales__c" extensions="ExtendPageController"> | |
<script type="text/javascript"> | |
function refreshPage(){ | |
document.rform.submit(); | |
} | |
</script> | |
<h1>This is a visualforce page in iframe</h1> | |
<a href="javascript:refreshPage();">Refresh</a> | |
<form action="/{!record.Id}" target="_parent" name="rform"></form> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment