asp.net - HTML5 Required validation not showing -
asp.net - HTML5 Required validation not showing -
i know there lot of questions none of answers solve problem.
i trying implement required validation built html5, when press submit button , leave field blank nil happens.
my html:
<asp:content id="bodycontent" runat="server" contentplaceholderid="maincontent"> <form action="" method="post"> <div> <div style="margin-right:230px;float:right;"> <div style="padding-left: 10px; font-size: 13px; padding-top: 30px; font-weight: bold; color: black"> <asp:label id="label8" runat="server" text="caller number"></asp:label></div> <div id="div3" tabindex="1" class="ui-widget"> <input required="required" style="width: 180px;margin-left:8px;" id="txtcallernumber" type="text" /> </div> </div> </div> <button type="submit" id="btnsave" style="margin:30px;width:70px;">save</button> </form> </asp:content>
i have tried calling submitform() on form submit event
i developing ie11
asp.net html5
Comments
Post a Comment