Hello,
Normally default values for passwords are left unspecified. However, the
XHTML standard allows them for all I know, so I decided to try coding the
following ASP.NET HTML server control on the page I am writing for testing:
<input id="password" type="password" value="foo" runat="server" />
Much to my surprise, when the input element has the runat attribute as
described above, it seems like the ASP.NET Web Matrix server (or should
I say the ASP.NET application framework?) strips away the value field
from the HTML output.
Why is the value attribute being stripped off in the
output sent to the web browser?
Thanks,
Neil