Hi I am trying to assign an ID to an HTML5 input so that i can access its value from the code behind in the web form. However with the this code:
Use this code to use HTML5 input type:
Use this in .aspx file:
.aspx
Use this in .cs file:
.cs
myTextBox.Attributes["type"] = "email";