Please wait, loading...

 

Passing URL to Iframe , Get and Set url to iframe using javascript in mscrm 2011

February 20, 2014
//Passing URL to Iframe
function iffffff() {

    var IFrame = Xrm.Page.ui.controls.get( “IFRAME_iframes” );
    //url value will  be saved in Url variable
    var Url = IFrame.getSrc();
    alert(Url);
    //add new url or add subs to the existing
    var trget = Url + “/movie” ;
    alert(trget);
    //set new value to iframe
    IFrame.setSrc(trget);
    //test what is new url
    var IFramee = Xrm.Page.ui.controls.get( “IFRAME_iframes” );

    var Urls = IFrame.getSrc();
    alert(Urls);
}




SOURCE : JUST2CODE.IN
Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/Microsoftdynamics365.png?fit=640%2C651
Microsoft Dynamics Community Profile

Learn more