ballisticnylon
Regular
Hi everyone,
I'm making a simple user control that encapsulates some javascript that I found online (the javascript is a pop-up calendar that writes the selected date to an html input tag). The script will not work if runat="server" is added to the tag, nor will it work if I try to use a textbox instead. I'd like to be able to expose the selected date as a property of the control I'm making, but I'm having trouble finding a way to access the value of the input tag programatically.
Any ideas?
I'm making a simple user control that encapsulates some javascript that I found online (the javascript is a pop-up calendar that writes the selected date to an html input tag). The script will not work if runat="server" is added to the tag, nor will it work if I try to use a textbox instead. I'd like to be able to expose the selected date as a property of the control I'm making, but I'm having trouble finding a way to access the value of the input tag programatically.
Any ideas?