Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript and web user controls

Status
Not open for further replies.

drew10

Programmer
Feb 26, 2002
123
US
I have a web user control that is added to a page programmatically. However, when it is added, the names are automatically changed to _ctl0:startDate & _ctl1:endDate. When I try to validate that the startDate is less than the endDate using a javascript function, it throws an error because of the ":" in "document.forms[0]._ct10:startDate.value" of the user controls. Any help would be greatly appreciated!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top