<asp:CreateUserWizard ID="CreateUserWizard1"> <WizardSteps> <asp:CreateUserWizardStep ID="CreateUserWizardStep1" > <ContentTemplate> <asp:TextBox ID="UserName"/> </ContentTemplate> </asp:CreateUserWizardStep> </WizardSteps> </asp:CreateUserWizard>
<script> var txtBox = document.getElementById("UserName"); if (txtBox != null ) { txtBox.focus(); } </script>
<script> var txtBox = document.getElementById("UserName"); if (txtBox.value == "") { txtBox.focus(); } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)