You need to sign in to do that
Don't have an account?
Tyler Tran 94
Can't login to iframe URL in Visualforce Page
I want to log in to the URL Iframe in a visualforce page, but it can't be done. When I check in Network tab in Developer console, it looks like Salesforce system tries to block the logging-in process. Here is my Iframe link and javascript tag.
<div style="float: left; width: 100%"> <apex:outputPanel layout="block" style="overflow:hidden"> <apex:iframe height="500px" width="100%" id="loginFrame"/> </apex:outputPanel> </div> <script type="text/javascript"> window.onload = function() { setTimeout(function() { var frame = document.getElementById('loginFrame'); if(frame) { frame.src = "https://dev-mk.eaga.com/prices/app/{!oppId}"; } }, 500); } </script>What can I do to fix this problem?
can you kindly elaborate this issue ?
Thanks
Priya Ranjan