var passwordprompt_name = '. $prompt . ';
var passwordprompt_submit = ' . $submit . ';
$(":input[name=' . $prompt . ']").keyup(function(event) { checkPassword(event.target, ' . $text . '); });
- $(document).ready(function() {
+ $(function() {
checkPassword($(":input[name=' . $prompt . ']").get(0), ' . $text . ');
});
//]]></script>