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:
If you are using vb.net :
In .aspx page
.aspx
Avoid type="email/date/mob" in input tag, it may produce parse error
In .vb page, in PageLoad()
.vb
myTextBox.Attributes.Add("type","email")