advancedform.js 369 B

1234567891011121314151617
  1. (function($) {
  2. "use strict";
  3. //accordion-wizard
  4. var options = {
  5. mode: 'wizard',
  6. autoButtonsNextClass: 'btn btn-primary float-left',
  7. autoButtonsPrevClass: 'btn btn-info',
  8. stepNumberClass: 'badge badge-pill badge-primary ml-1',
  9. onSubmit: function() {
  10. alert('Form submitted!');
  11. return true;
  12. }
  13. }
  14. $( "#form" ).accWizard(options);
  15. })(jQuery);