Why is the ID named twice? You should use the actual ID you gave the control in the aspx\ascx file
[Description: Description: C:\Users\Brian\Pictures\EXD Logos\Extelligent logo no text.jpg]Ishai Sagi | Solutions Architect 0488 789 786 | [email protected]<mailto:[email protected]> | www.sharepoint-tips.com<http://www.sharepoint-tips.com/> | @ishaisagi<http://twitter.com/ishaisagi> | MVP Profile<https://mvp.support.microsoft.com/profile/Ishai> From: [email protected] [mailto:[email protected]] On Behalf Of Ajay Sent: Friday, 19 July 2013 1:59 PM To: ozMOSS Subject: SharePoint date time control I have to validate date time control, if it has any value and based on that allow a another field to be blank or not. The text box for dtc is referenced by dtcDeadline$dtcdeadlineDate following line does not look good var deadlineDate = document.getElementById('<%=dtcDeadline$dtcdeadlineDate.ClientID%>'); Am I missing some easy fix for this... Cheers ajay
<<inline: image001.jpg>>
<<inline: image002.jpg>>
_______________________________________________ ozmoss mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
