How to open a Bootstrap modal window using jQuery?

后端 未结 15 2248
闹比i
闹比i 2020-11-22 06:46

I\'m using Twitter Bootstrap modal window functionality. When someone clicks submit on my form, I want to show the modal window upon clicking the \"submit button\" in the fo

15条回答
  •  借酒劲吻你
    2020-11-22 07:19

    BootStap Wizard Form

    You can launch the modal with the code below this.

    $(document).ready(function(){
        $("#submitButton").click(function(){
            $("#myModal").modal();
        });
    });
    

提交回复
热议问题