Password Password displays strength indicator for password fields.

Popup

Inline

$('#default').puipassword();
                                
<input id="default" name="default" type="password" />
                                
Name Type Default Description
inline boolean false Inline mode displays suggestions panel next to the field, not in a popup.
promptLabel string Please enter a password Text to prompt password entry.
weakLabel string Weak Text for a weak password.
mediumLabel string Medium Text for a medium password.
strongLabel string Strong Text for a strong password.

No events.

Name Parameters Description
show - Shows the panel.
hide - Hides the panel.
align - Aligns popup position with input.
enable - Enable the widget.
disable - Disable the widget.
option name: Name of the option Returns the value of the option.
option name: Name of the option, value: Value of the option Set the value of the option.
$(function() {
    $('#p1').puipassword();

    $('#p2').puipassword({inline:true}); 
}); 
                                
<input id="p1" name="p1" type="password" />

<input id="p2" name="p2" type="password" />