Monday, June 7, 2010

Hiding the Date Part of a Date Time Field

Use the following javascript to do that.

document.getElementById("field_name").childNodes[0].childNodes[0].style.display = "none";
document.getElementById("field_name").childNodes[0].childNodes[1].style.display = "none";

No comments:

Post a Comment

Retrieving Calendar of a Bookable Resource in Dynamics

There are occasions where we need to retrieve working days and working times of a resource in Dynamics grammatically. This is quite possible...