Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

CRM dynamics 2013 form load event does no set IFRAME src url

$
0
0

The following code does set the IFRAM url src in crm 2011 but in 20123 when we upgraded it does not work.

in the IFRAME url it's self it does work but I cannot change it from the form load event java script

function GetCustomerNumber(){

var el = document.getElementById("IFRAME_OrdersList");
    var el2 =Xrm.Page.getAttribute("new_customernumber").getValue() ;
   var url= "http://dev-appsvr/CrmCSC/OrderList.aspx?cn=" + el2;
//el.src=url;
if(Xrm.Page.ui.controls.get("IFRAME_OrdersList")!=null)

{
el.src=url;

}
else
{
alert('frame not loaded');
//window.setInterval("GetCustomerNumber()",1000);}
}


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>