Background colour for lookup field crm 2011 rollup 16 RRS feed

  • General discussion

  • Hi.

       I want to set the background color for mandatory lookup fields just like below image.

    it's perfectly working in crm 2011 rollup 8 for below code

    document.getElementById(lookupfilename+ "_d").childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes[0].style.backgroundColor = color;

    but not work in crm 2011 rollup 16.if I click the lookup means the color will disappear.

    what's the code for crm 2011 rollup 16 for set the background color to lookup field,anybody know share with me.



    Friday, March 28, 2014 1:23 PM