Home > Development > MS CRM 4 Hide or Show Section

MS CRM 4 Hide or Show Section


Hop this helps someone

function OnCrmPageLoad()   
{   
  //Hide the Second Section in the first Tab   
  ToggleSection( 0 , 1 , "none" /* "inline" */);   
}   
  
// Tabs and Section Collections are zero based   
function ToggleSection( tabIndex , sectionIndex , displayType )   
{   
  var sec = document.getElementById( "tab" + tabIndex );   
  sec.childNodes[0].rows[ sectionIndex ].style.display = displayType;   
}   

Blair…

Advertisements
Categories: Development Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: