Tech Support > Microsoft Windows > Windows CRM > Problem getting values in iframe
Problem getting values in iframe
Posted by Adnan J on September 14th, 2006


Hi,

I have placed an iframe to the account form.
This iframe calls an .aspx page that is also placed on the same server as
the CRM.

I am trying to get an value from the CRM form to the .aspx page in the iFrame.

my function that I call upon "onLoad":
<script language="javascript">
function GetSomeValues() {

document.getElementById('TextBox1').value =
parent.document.forms[0].all.name.DataValue;
}
</script>


This fails! I get the message: "Access denied!"

Is there any setting in the CRM I have forgotten to turn on or off??

Can anybody help me on this.


Posted by Reece Williams on September 14th, 2006


On the Iframe definition, have you enabled cross frame scripting?
R.

"Adnan J" wrote:

Posted by Adnan J on September 15th, 2006


Hey!

Thanx for the reply!

I solved my problem. I had actually written the ip adress instead of the
actual servername when I linked up the IFrame.


"Reece Williams" wrote:


Similar Posts