HTML forms are used get information from clients.
If an HTML form has more than one submit button, the activated one or the first one to be found in DOM will act as the submit button (See SO article). The default HTTP method for form submit is GET.
You can prevent enter click see here.
Forms in ASP.NET
http://www.w3schools.com/aspnet/aspnet_forms.asp
Forms in ASP.NET MVC
You can use Html.BeginForm to create a form tag in HTML.
http://www.asp.net/mvc/overview/older-versions/hands-on-labs/aspnet-mvc-4-helpers,-forms-and-validation
Forms in ASP.NET
http://www.w3schools.com/aspnet/aspnet_forms.asp
Forms in ASP.NET MVC
You can use Html.BeginForm to create a form tag in HTML.
http://www.asp.net/mvc/overview/older-versions/hands-on-labs/aspnet-mvc-4-helpers,-forms-and-validation
Data Attributes in HTML5
You can use data attributes to specify custom details. These will be ignored by the user agent. http://www.w3schools.com/tags/att_global_data.asp
https://developer.mozilla.org/en/docs/Web/Guide/HTML/Using_data_attributes
Resources
0 comments:
Post a Comment