Показать сообщение отдельно
Старый 21.11.2007, 06:25   #2  
sam is offline
sam
Участник
 
160 / 25 (1) +++
Регистрация: 04.08.2003
Адрес: Красноярск
Пример из SDK:
Код:
var lookupItem = new Array;

// This will get the lookup for the attribute primarycontactid on the Account form.
lookupItem = crmForm.all.primarycontactid.DataValue;

// If there is data in the field, show it in a series of alerts.
if (lookupItem[0] != null)
{
   // The text value of the lookup.
   alert(lookupItem[0].name);
...
За это сообщение автора поблагодарили: maxim_ufa (1).