Hi All,
I want to open lookup dialogue when i click inside text field,
with the below code i am able to open lookup dialogue on change of text field but i want it on mouse down event that is when i click on text field in dynamics crm.
function OpenLookup() {
var customServerURL = document.location.protocol + "//" + document.location.host;
var objectCode = "2";
var url = customServerURL + "/_controls/lookup/lookupsingle.aspx?class=null&objecttypes=" + objectCode + "&browse=0&ShowNewButton=0&ShowPropButton=1&DefaultType=0";
var lookUp = window.open(url, "entity", "width=500,resizable=1,height=400,menubar=0,status=1,location=0,toolbar=0,scrollbars=1");
}
thanks,
Shahbaaz
*This post is locked for comments
I have the same question (0)