Wednesday, August 22, 2012

Javascript To restrict "to" party list only with users and should not include contacts, accounts and leads

function RestrictUser()
{
document.getElementById("to").setAttribute("lookuptypes", "8");
document.getElementById("to").setAttribute("defaulttype", "8");
document.getElementById("to").setAttribute("lookuptypeIcons", "/_imgs/ico_16_8.gif");
}

1 comment: