var oTo = document.getElementById("customerid_i");oTo.setAttribute("defaulttype", "1"); //默认开启客户oTo.setAttribute("lookuptypes", "1"); //只有客户 oTo.setAttribute("_lookuptypes", "1");//只有客户
CRM 2013 限制Lookup
原文:http://www.cnblogs.com/janmson/p/3543338.html