| CODENOTIFIER | HelpYou are not signed inSign in |
Project: jQuery
Revision: 5839
Author: joern.zaefferer
Date: 26 Aug 2008 18:18:51
Diff at Trac: http://dev.jquery.com/changeset/5839
Changes:validate: Improved basic demo, validating confirm-password field after password changed
Files:| ... | ...@@ -1,3 +1,7 @@ | |
| 1 | 1.5 | |
| 2 | --- | |
| 3 | * Improved basic demo, validating confirm-password field after password changed | |
| 4 | ||
| 1 | 5 | 1.4 |
| 2 | 6 | --- |
| 3 | 7 | * Fixed #2931, validate elements in document order and ignore type=image inputs |
| ... | ...@@ -77,6 +77,11 @@ | |
| 77 | 77 | } |
| 78 | 78 | }); |
| 79 | 79 | |
| 80 | // check if confirm password is still valid after password changed | |
| 81 | $("#password").blur(function() { | |
| 82 | $("#confirm_password").valid(); | |
| 83 | }); | |
| 84 | ||
| 80 | 85 | //code to hide topic selection, disable for demo |
| 81 | 86 | var newsletter = $("#newsletter"); |
| 82 | 87 | // newsletter topics are optional, hide at first |