Documentation
How to use?
- Make sure that you included his Plugin depends on it. Then, include in the Plugin this project. After buy, plugin in the folder plugins.
<!-- jQuery (necessary for StrongPass.js JavaScript plugins) -->
<script type="text/javascript" src="jquery.min.js"></script>
<!-- Include all compiled plugins (below), files as needed -->
<script type="text/javascript" src="StrongPass.min.js"></script> - Place the text in which the password will be also a button that will change the password in the event of the pressure in the
div
is to be the parent for them and give any name by propertyclass
orid
. - Call the function responsible for the operation of the Plugin using the property that you giving them for the
div
.$('#test').generatePassword({
passCharSet: "a-z,A-Z,0-9,#", // if you use all character
passSize: "15"
}); - There is some of her Option
For example, to determine the length of the password or to select letters and signs and figures that wants to be in the password.passCharSet
These are used to determine the specific type of special characters, for example, you are a character, or a figure, this property accepts letters of 0-9 and also accepts a-z, A-Z as well as special characters.passSize
It is a property that is used in determining the length of the password.
- Create the HTML
<div class="input-group" id="test1">
<input type="text">
<button type="button">Refresh</button>
</div>