locked
How to return object name of date or lookup type?? RRS feed

  • Question

  • Guys,

    I have created a recurisve function that loops through a tab and gets every element on that tab.

    In the loop I can do: 

    alert(element.name);

    This returns exactly what I want..  The name of the crm field.  But for dates and lookups it just alerts "undefined".

    Can anybody tell me how to get the name of a lookup or date field.

    Thanks,

    Ant
    living is the only thing worth dying for
    Wednesday, December 9, 2009 11:04 AM

Answers