ソースを参照

Fix submitHandler example due to validator.getFieldElements() changes

nghuuphuoc 12 年 前
コミット
76cafb1eaf
1 ファイル変更1 行追加1 行削除
  1. 1 1
      demo/submitHandler.html

+ 1 - 1
demo/submitHandler.html

@@ -63,7 +63,7 @@
             submitHandler: function(validator, form) {
                 // validator is the BootstrapValidator instance
                 // form is the jQuery object present the current form
-                form.find('.alert').html('Thanks for signing up. Now you can sign in as ' + validator.getFieldElement('username').val()).show();
+                form.find('.alert').html('Thanks for signing up. Now you can sign in as ' + validator.getFieldElements('username').val()).show();
                 //form.submit();
             },
             fields: {