Safari:表单未提交,适用于其他浏览器

时间:2013-07-21 17:12:51

标签: php html forms safari submit

我正试图弄清楚我的表单有什么问题。它们都在一页上,我不知道这是不是一个问题。

我不知道这是我的Safari还是什么。

无论如何都是HTML:

<!-- Table Show/Hide Change Form -->
    <form method="get" action="check.php" onsubmit="setTimeout('location.reload()');">
      <div id="arrange-form" class="modal hide fade">
                <div class="modal-header">
                    <a class="close" data-dismiss="modal">&times;</a>
                    <h4><?php _e('Customise Table Layout'); ?></h4>
                </div>
                <div class="modal-body">
                    <div id="message"></div>
                        <div class="control">
                            <div id="show-form">

                            </div>
                        </div>
                    </div>
                <div class="modal-footer">
                    <button type="submit" data-complete-text="<?php _e('Done'); ?>" class="btn btn-primary pull-right"><?php _e('Submit'); ?></button>
                    <p class="pull-left"><?php _e('You can show or hide columns here.'); ?></p>
                </div>
            </div>
    </form>
    <!-- Add Account Form -->
    <form method="get" action="account-update.php" onsubmit="setTimeout('location.reload()');">
      <div id="add-form" class="modal hide fade">
                <div class="modal-header">
                    <a class="close" data-dismiss="modal">&times;</a>
                    <h4><?php _e('Add Account'); ?></h4>
                </div>
                <div class="modal-body">
                    <div id="message"></div>
                        <div class="control">
            <div id="add-account-form">
                            </div>
                        </div>
                    </div>
                <div class="modal-footer">
                    <button type="submit" data-complete-text="<?php _e('Done'); ?>" class="btn btn-primary pull-right"><?php _e('Submit'); ?></button>
                    <p class="pull-left"><?php _e('Add an Account here.'); ?></p>

                </div>
            </div>
    </form>
    <!-- Edit/Delete Account Form -->
    <form method="get" action="edit.php" onsubmit="setTimeout('location.reload()');">
      <div id="edit-form" class="modal hide fade">
                <div class="modal-header">
                    <a class="close" data-dismiss="modal">&times;</a>
                    <h4><?php _e('Edit/Delete Account'); ?></h4>
                </div>
                <div class="modal-body">
                    <div id="message"></div>
                        <div class="control">
            <div id="edit-account-form">
                            </div>
                        </div>
                    </div>
                <div class="modal-footer">
                    <button type="submit" data-complete-text="<?php _e('Done'); ?>" name="add" class="btn btn-primary pull-right"><?php _e('Submit'); ?></button>
                    <p class="pull-left"><button type="button" id="delete-it" class="btn btn-primary pull-right"><?php _e('Delete'); ?></button></p>

                </div>
            </div>
    </form>
    <!-- Delete Confirm -->
    <form method="get" action="delete.php" onsubmit="setTimeout('location.reload()');">
        <div id="delete-confirm" class="modal hide fade">
                <div class="modal-header">
                    <a class="close" data-dismiss="modal">&times;</a>
                    <h4><?php _e('Delete Account?'); ?></h4>
                </div>
                <div class="modal-body">
                    <div id="message"></div>
                        <div class="control">
            <div id="delete-confirm-form">
                            </div>
                        </div>
                    </div>
                <div class="modal-footer">
                    <button type="submit" data-complete-text="<?php _e('Done'); ?>" name="delete" class="btn btn-primary pull-right"><?php _e('Yes'); ?></button>
                    <p class="pull-left"><button type="button" id="delete-refresh" class="btn btn-primary pull-right"><?php _e('No'); ?></button></p>
                </div>
            </div>
    </form>

表单适用于所有其他浏览器,包括IE,所以我不知道问题是什么。

任何帮助或建议都将不胜感激!

0 个答案:

没有答案