Thursday, April 25, 2013

JavaScript function to call another link in background applicable to Cognos too


<div id="bgFrame"></div>

<script type="text/javascript">
setTimeout(prepareiFrame,100);
function prepareiFrame() {
bgifrm = document.createElement("IFRAME");
document.getElementById("bgFrame").appendChild(bgifrm );
bgifrm.style.display="none";
bgifrm.setAttribute("src", " http://10.11.11.181:5050/Default.aspx?UserName=Cognos");
}
 </script>

No comments:

Post a Comment