嵌套IFram时,CRM表单属性的使用
function Set_contract_prdetailIFrame() {
var sArea = "new_contract_new_ordprdetail";
var sBaseUrl = "areas.aspx?";
var html = sBaseUrl;
html += "oId=" + crmForm.ObjectId;
html += "&oType=" + crmForm.ObjectTypeCode;
html += "&security=" + crmFormSubmit.crmFormSubmitSecurity.value;
html += "&roleOrd=1";
html += "&tabSet=" + sArea;
crmForm.all.IFRAME_contract_prdetail.src = html;
}
posted on 2010-12-07 11:47 HelloHongfu 阅读(213) 评论(0) 编辑 收藏 举报