Tuesday, April 19, 2011

CRM - Retrieving Data from Lookup View Fields Using java script

var lookup = document.getElementById('lookup id');
 var name = lookupId[0].name;
//Can Retrive all Values in Lookup View
var lookupItems = lookup.items[0].values;
var age= lookupItems[1].value;
var address= lookupItems[2].value;

2 comments:

  1. This is really works for me ...
    How did you apply this...?

    ReplyDelete