CRM4: Retrieving the text of a unresolved Lookup in javascript

Needed this for a requirement from a client.

Using the trusty IE Development Toolbar you could see how to access this piece of text.


crmForm.all.fieldname_d.getElementsByTagName(‘span’)[0].outerText

Enjoy

 

Jonathan

Tags

One comment

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.