Icontem

File: rstest.html

Recommend this page to a friend!
  Classes of zinsou A.A.E.Mo´se  >  jQuery Friendly Password Suggest  >  rstest.html  >  Download  
File: rstest.html
Role: Example script
Content type: text/plain
Description: example file
Class: jQuery Friendly Password Suggest
Suggest passwords based on what the user typed
Author: By
Last change:
Date: 1 year ago
Size: 1,347 bytes
 

Contents

Class file image Download
	<!doctype html>
	<html lang="en">
		<head>
			<meta charset="UTF-8">
			<title>Connexion preferences</title>
		</head>
		<body>

			<form id="changepass"  method="POST">
					<fieldset>
					<p><input type="text" id="pseudo" name="pseudo" placeholder="pseudo" />
					<input type="text" id="name" name="name" placeholder="name" />
					<input type="password" id="password" name="password" placeholder="old password" /></p><p>
					<input type="password" id="newpassword" name="newpassword" placeholder="New password" /></p><p>
					<input type="submit" value="modify" />
					</p><div id="manage" ></div>
					</fieldset></form>
			<script src="jquery.js"></script>
			<script src="jquery.friendlypwdsuggest.js"></script>
			<script>
				$(document).ready(function(){
					$("changepass").friendlypwdsuggest({
						"watch":{"0":"#name","1":"#pseudo"},
						"passwordfield":"#newpassword",
						"showIn":"#manage",//required
						"script":"testplugin.php",//required
						"event":"click",
						"responsetype":"text",
						"callback":alert("Hi ,This is here to let you know that,each time you click in the new password field,it will make appear some password suggestions based on fields you have already filled"),
						"length":8,
						"number":5
							
					});
				});
			</script>
		</body>
	</html>