PasswordInput2.onchange = function() {
if (PasswordInput1.value != PasswordInput2.value) {
NSB.MsgBox("Passwords do not match!");
}
}
jqxPassword manages inputting passwords. It features the ability to measure the strength of passwords.
jqWidgets is a commercial product, which depending on how you use it, requires a license fee. Complete details are on jqWidget's website. The product is well supported.
This control is well documented on the jqWidget's website: http://www.jqwidgets.com/jquery-widgets-documentation/.
maxLength | Set maximum number of characters for password |
name | Key in submitted form |
onchange | This event is triggered when the value is changed and the control's focus is lost. |
placeHolder | Placeholder text |
showPasswordIcon | Gets or sets whether the Show/Hide password icon will appear. |
showStrength | Gets or sets whether a tooltip which shows the password's strength will be shown. |
PasswordInput2.onchange = function() {
if (PasswordInput1.value != PasswordInput2.value) {
NSB.MsgBox("Passwords do not match!");
}
}
Function PasswordInput2_onchange()
If PasswordInput1.value <> PasswordInput2.value Then
MsgBox "Passwords do not match!"
End If
End Function
See above.