Reputation: 12376
I want to access a boolean property of my User Control through Java Script. For this I do:
..=document.getElementById('<%= dtPickerBirth.ClientID%>').IsValidDate;
As you might guess IsValidDate is a boolean value and I want to access it. Is there anything wrong with this code? I use this for validation purposes but it does not work.
Upvotes: 1
Views: 651