MSCRMBLOG.NET - Microsoft CRM & Sharepoint Blog

Latest news, information and help on Microsoft Dynamics CRM, Microsoft Sharepoint Server (& WSS), Server 2003/2008 and VMWare.
  • Home
  • About Me
Switcher

Archive

Posts Tagged ‘null’

lookup field - onchange event

August 12th, 2008
No comments

Hi Guys,

I have noticed that sometimes onchange code for a lookup needs some time (1sec) than to run its code.

Heres an example of a 1 second wait (wait until the lookup is populated with the lookup id, name etc):

window.setTimeout(getDetails, 1000);

function getDetails()
{
if(crmForm.all.ownerid.DataValue[0].id != null)
{
// do something
}
}

MSCRM-Admin Customizations, JavaScript do something, function, JavaScript, lookup, null, object null, value, wait

RSS feed
  • Google
  • Youdao
  • Xian Guo
  • Zhua Xia
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha

Recent Comments

  • Carhartt fleece beanie on Mini Preview Window for Contact Lookup Field
  • ????????? ???????? ? ???????? | ????????? ???????? ? ???????? on SP - Uploading files to SharePoint document library
  • Crash wrath music on Want to have a look at CRM 5??
  • Manolo Blahnik Buckle Boots on Mini Preview Window for Contact Lookup Field
  • Assurance car on Mini Preview Window for Contact Lookup Field

Blogroll

  • crm.atechnisch.nl
  • Microsoft Dynamics CRM UK
  • Mitch Milam’s Blog
  • MSDN CRM BLOG
  • Orange Technology News Blog
  • Stunnware

Archives

  • July 2010
  • April 2010
  • March 2010
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • January 2009
  • September 2008
  • August 2008

Meta

  • Register
  • Log in
Top WordPress
Copyright © 2008-2010 MSCRMBLOG.NET - Microsoft CRM & Sharepoint Blog
Theme by mg12. Valid XHTML 1.1 and CSS 3.