//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” ;
//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