monster.ui.protectField()

Syntax

monster.ui.protectField(field[, template]);

Parameters

field: jQuery object (mandatory)

Input on which the method will be applied. The type of the input needs to be password.

template: jQuery object (optional, default: $(html))

Let you specify a container where the element passed as the field parameter is. If this parameter is omitted, the default value of $(html) will be used.

Description

This method allow the user to see the value of a password input when this input is on focus.

Edit this page here