Penambahan FrontEnd All-New-Manufacture
This commit is contained in:
18
public/js/plugins-init/jquery-steps-init.js
vendored
Normal file
18
public/js/plugins-init/jquery-steps-init.js
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
(function($) {
|
||||
"use strict"
|
||||
|
||||
var form = $("#step-form-horizontal");
|
||||
form.children('div').steps({
|
||||
headerTag: "h4",
|
||||
bodyTag: "section",
|
||||
transitionEffect: "slideLeft",
|
||||
autoFocus: true,
|
||||
transitionEffect: "slideLeft",
|
||||
onStepChanging: function (event, currentIndex, newIndex)
|
||||
{
|
||||
form.validate().settings.ignore = ":disabled,:hidden";
|
||||
return form.valid();
|
||||
}
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user