function loadProductSelection() {
alert("Xrm.Page.data.entity.getId() && Xrm.Page.getAttribute(lambda_clientnumber).getValue(); :"+Xrm.Page.data.entity.getId() && Xrm.Page.getAttribute("lambda_clientnumber").getValue());
if (crmForm.ObjectId && crmForm.all.lambda_clientnumber.DataValue && crmForm.all.lambda_policy.DataValue) {
alert(Xrm.Page.data.entity.getId() && Xrm.Page.getAttribute(lambda_clientnumber).getValue());
//crmForm.all.IFRAME_contact_product.src = "http://" + window.location.host + ":10006/External/PreCertLogProduct.aspx?p1=" + crmForm.all.lambda_policy.DataValue.replace(' ', '') + "&p2=" + crmForm.all.lambda_clientnumber.DataValue.replace(' ', '');
var policy = Xrm.Page.getAttribute("lambda_policy").getValue();
var clientnumber = Xrm.Page.getAttribute("lambda_clientnumber").getValue();
Xrm.Page.getControl("IFRAME_contact_product").setSrc("http://" + window.location.host + ":10006/External/PreCertLogProduct.aspx?p1=" + policy.replace(' ', '') + "&p2=" + clientnumber.replace('
', ''));
alert("http://" + window.location.host + ":10006/External/PreCertLogProduct.aspx?p1=" + crmForm.all.lambda_policy.DataValue.replace(' ', '') + "&p2=" + crmForm.all.lambda_clientnumber.DataValue.replace(' ', ''));
}
}
Can i know what is happening for this javascript ??