douzhi3454 2019-04-13 16:41
浏览 58

在我的bootstrap模式页脚中添加步骤操作按钮

I tried to create a form wizard using the jQuery Steps library, but I can't change the button position.

I want to use my own modal buttons for the wizard, but the steps library adds its own button actions just after the form in the modal-body.

This is my own code :

<div class="modal right fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2">
    <form action="<?= base_url(); ?>" class="ajaxform" method="POST">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h4 class="modal-title" id="myModalLabel2">Ajouter un client</h4>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                </div>
                <div class="modal-body steps">
                    <form>
                        <!-- My inputs are here -->
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="rounded-0 btn btn-secondary mr-auto" id="prev">Back</button>
                    <button type="button" class="rounded-0 btn btn-primary" id="next">Next</button>
                </div>
            </div>
        </div>
    </form>
    <!-- modal-dialog -->
</div>
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 树莓派与pix飞控通信
    • ¥15 自动转发微信群信息到另外一个微信群
    • ¥15 outlook无法配置成功
    • ¥30 这是哪个作者做的宝宝起名网站
    • ¥60 版本过低apk如何修改可以兼容新的安卓系统
    • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
    • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
    • ¥50 有数据,怎么用matlab求全要素生产率
    • ¥15 TI的insta-spin例程
    • ¥15 完成下列问题完成下列问题