I have two html5 input input elements on my page, and I would like to use their value through the code behind. but when I add the runat = "server" attribute, I still can't catch them in the cs file. is there any way to do this?
here are my controls:
<input id="hour_input" type="number" min="1" max="12" step="1" value ="1" runat="server"/> <input id="minutes_input" type="number" min="0" max="60" step="5" value ="0" runat="server"/>
it gives: "the name" hour_input "does not exist in the current context"
source share