【问题标题】:How to disable next button in jquery steps plugin如何在 jquery 步骤插件中禁用下一个按钮
【发布时间】:2016-05-30 16:24:30
【问题描述】:

我正在使用 Jquery Steps 插件版本 1.1.0。论坛中的任何专家都可以帮助您了解如何禁用从 step1 移动到 step2 的下一步按钮。如果 currentIndex 为 1,我已尝试在函数 onStepChanged 中执行此操作。我正在使用 Meteor。

$theSteps = $('.steps ul').find('.current');
$($theSteps).next('li').addClass('disabled');
$($theSteps).next('li').removeClass('done');

【问题讨论】:

    标签: meteor jquery-steps


    【解决方案1】:

    这行得通 $('.actions > ul > li:nth-child(2) > a').attr('href','#next');

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-25
      • 1970-01-01
      • 1970-01-01
      • 2016-11-25
      • 1970-01-01
      • 2020-07-28
      相关资源
      最近更新 更多