How to indent HTML tags in Notepad++ - Stack Overflow
stackoverflow.com/questions/.../how-to-indent-html-tags-in-notepad
This blog is about my history as a software engineer utilizing technologies C#, Java, React, JavaScript, .NET Core, SQL Server , Oracle, GIT, GitHub, Jira, Azure, AWS and HTML5. “I have not failed. I've just found 10,000 ways that won't work.” Thomas A. Edison. Please click on all my ADVERTISING links to help support this blog. Thank you.
$(document).ready(function setFocus() { setTimeout(function () { $('#txtEmailAddress').focus(); }, 420); // After 420 ms return false; });
<div id="message"> <div> <div class="alert alert-danger alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <span id="alertMsgTxt" style="font-size:1.5em;font-weight:bold" ></span> </div> </div> </div>
<asp:TextBox ID="txtEmailSignup" TextMode="email"
runat="server" CssClass="form-control" title="Email Sign Up SHOE SHOW Sales and News" placeholder="Enter your email address" />
<script> $(document).ready(function () { $(document).on('click', '#lnkEmailSubmit', function () { var emailaddress = ''; emailaddress = $('#txtEmailSignup').val(); if(!validateEmail(emailaddress) || emailaddress === ''){ $('.alert').show(); window.scrollTo(0, 0); $('#alertMsgTxt').html('Invalid Email, please click here to try again.'); } }) }); function setFocus() { $('.alert').hide(); document.getElementById("txtEmailSignup").focus(); } function validateEmail($email) { var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/; return emailReg.test( $email ); } </script>