asp.net 응용 프로그램에서 jquery steps 마법사를 사용하고 있습니다. 버튼을 클릭하면 단계를 변경하는 이벤트에 문제가 있습니다. file.jsJquery Steps -> button click-> go to step
var WizardFunc = function() {
var wizard = null;
return {
WizardSet: function() {
wizard = $('#order').steps({
bodyTag: "fieldset",
transitionEffect: "slideLeft",
headerTag: "h1",
autoFocus: true
});
},
WizardStepAdd: function (index, title, contentId) {
wizard.steps("insert", index, {
title: title,
content: "<div id='" + contentId + "'></div>"
});
},
WizardGoToStep: function (index) {
wizard.steps("setStep", 1);
},
WizardStepRemove: function (index) {
wizard.remove(index);
}
}
}();
에서 Initailize 단계 I는 기능 통화 시도 :
$("#new-size-container").on("click", ".add-size", function() {
WizardFunc.WizardGoToStep(1);}
반환 오류 :
Not yet implemented!
Q : 버튼을 클릭하면 단계 인덱스를 변경하는 방법 전화 기능?
단계를 초기화 한 방법을 보여주십시오. – isherwood
안녕하세요, 내 게시물을 편집하고 초기화하는 방법을 포함합니다. 단계 –