<form id="myForm" runat="server">
username
<asp:TextBox ID="txtuser" runat="server">
</asp:TextBox>
Password
<asp:TextBox ID="txtpass" TextMode="Password" runat="server">
</asp:TextBox>
<asp:Button ID="btnsubmit" Text="submit" runat="server" OnClientClick="Val()" />
</form>
this is my source code anyone validate it or if anyone have any ebook for mvc & web deveopment so post it