引导程序模式正在数据库上进行插入和更新,问题是引导程序警报不起作用

时间:2019-11-19 09:09:42

标签: php jquery ajax twitter-bootstrap bootstrap-modal

这是该项目的前端,我正在寻找几天的解决方案,但是仍然没有运气,我是Bootstrap和php的初学者。

pom.xml

这是该项目的脚本,这是我被困住的地方,已经在google上搜索了几天。。响应不起作用。我是Java和Bootstrap的初学者

<div class="responsive">
<div class="modal fade" id="myModal2" role="dialog">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal">&times;</button>
              <h4 class="modal-title">Shout Box!</h4>
            </div>
    
            <div class="modal-body">
                <!-- Form -->
                <form class="text-center" style="color: #757575;" id="shoutOutForm" name="shoutOutForm" 
                action="shouts.php" method="POST">
                    <!-- Form Start -->
                    <section class="forms">
                        <div class="container-fluid">
                            <!-- Page Header-->
                            <div id="buttonAlert"></div>
                            <div class="row">
                                <div class="col-lg-6">



                                        <div class="card-body">
                                            <?php
                                            $user_id = $wo["user"]["id"];

                                            ?>

                                            <input type="text" id="sigaw" name="sigaw" value="">
                                            <input type="hidden" id="username" name="username" value="<?= $user_id ?>">
                                        </div>

                                </div>



                            </div>
                        </div>
                    </section>
            </div><!-- End Modal Body -->


            <!-- Form End -->
            <!-- Modal footer -->
            <div class="modal-footer">
                <button type="submit" class="btn btn btn-success" id="shoutOutBtn" data-loading-text="Shouting..."> <i class="fa fa-check"></i> Shout</button>
                <button type="button" class="btn btn-danger" data-dismiss="modal"><i class="fa fa-power-off"></i> Close</button>
            </div>
            </form>
        </div>
     </div>
</div>
</div>

0 个答案:

没有答案