alert("Hostname cannot be empty and may only contain the ASCII letters ('A' through 'Z' and 'a' through 'z'), the digits '0' through '9', and the hyphen ('-')! They can neither start or end with an hyphen.");
returnfalse;
if(re_hostname.test(hostname.val())){
returntrue;
}
returntrue;
alert("Hostname cannot be empty and may only contain the ASCII letters ('A' through 'Z' and 'a' through 'z'), the digits '0' through '9', and the hyphen ('-')! They can neither start or end with an hyphen.");
<buttonclass="pure-u-11-24 pure-u-lg-1-4 pure-button button-generate-password"type="button"title="Generate password based on password policy">Generate</button>
<divclass="pure-u-2-24 pure-u-lg-1-2"></div>
<buttonclass="pure-u-11-24 pure-u-lg-1-4 pure-button button-update-password"title="Save new password">Save</button>
<buttonclass="pure-u-11-24 pure-u-lg-1-4 pure-button button-update-password"type="button"title="Save new password">Save</button>