- $(":input[@name=' . $prompt . ']").keyup(function(event) { checkPassword(event.target, ' . $text . '); });
- $(document).ready(function() {
- checkPassword($(":input[@name=' . $prompt . ']").get(0), ' . $text . ');
+ $(":input[name=' . $prompt . ']").keyup(function(event) { checkPassword(event.target, ' . $text . '); });
+ $(function() {
+ checkPassword($(":input[name=' . $prompt . ']").get(0), ' . $text . ');