A sample application of the PassRoids plugin is shown in the following example, which gives a useful hint for those interested in an quick and easy way to check field values.
1. The basic layout for the page on which the plugin will work should look similar to the following:
<html> <head> <script src="jquery.js" type="text/javascript"></script> <script src="jquery.passroids.js" type="text/javascript"> </script> <script type="text/javascript"> $(document).ready (function () { // code }); </script> </head> <body> <form> Password: <input type="password" name="pass_test" value="" id="pass_test" /> Password (again): <input type="password" name="pass_test_verify" value="" id="pass_test_verify" /> <input type="submit" name="pass_test_submit" value="Change password" id="pass_test_submit" /> </form> </body> </html>
2. It is important to note that some elements must...