dragon321723 2017-11-10 10:18
浏览 24
已采纳

找不到从页面返回的按钮

I have a multiform with two buttons on every page. One for going forward and one for going backward. On the second page the back-button works fine but then for all others the browser show me page is not found page.

code:

<div class="row">
    <!-- Formular start -->
    <form id="formular" action="Formular-Haushaltsvollzug.php" method="POST">
        <!-- 3.4. Fallzahlenentwicklungen -->
        <div class="col-sm-12 col-md-12 col-lg-12">
            <div class="card">
                <div class="card-header"  data-background-color="purple">
                    <h4 class="title">4. Fallzahlenentwicklungen aus den zugeh&ouml;rigen FB (sofern messbar)</h4>
                    <p class="category"></p>
                </div>

                <div class="card-content">
                    <!--4.1-->
                    <div class="row">
                        <div class="col-sm-12 col-md-12 col-lg-4">
                            <div class="form-group label-floating optimaler-abstand">
                                <div class="label">
                                    <label for="Gleitzeitrahmen"> 
                                        <div class="aufzählung">4.1
                                            <div class="material-icons md-24 forminfo" data-toggle="tooltip" data-placement="top" title="Sind Fluktuationen im Bereich Personal feststellbar? Wie ist die Situation zum vorigen Quartal zu bewerten? Auch k&uuml;nftige Zu-und Abg&auml;nge k&ouml;nnen hier vermerkt werden. ">info_outline</div>
                                        </div> 
                                        <div class="beschreibung">Fallzahlenentwicklungen</div>
                                    </label>
                                    <textarea class="form-control" id="Fallzahlenentwicklungen" name="name_Fallzahlenentwicklungen" rows="1" maxlength="250"></textarea>
                                </div>
                            </div>
                        </div>
                    </div>  
                    <!-- Button -->
                    <div class="row">
                        <!--Fallzahlenentwicklungen-->
                        <div style="float:right">
                            <button class="btn btn-primary" type="submit" id="button" onclick="eingaben_speichern()">Weiter</button>
                        </div>
                        <!--zürück-->
                        <div style="float:right">
                            <input class="btn btn-primary" type="button" value="zur&uuml;ck" onclick="history.back()">
                        </div>
                    </div>  
                </div>  
            </div>  
        </div>
    </form> 
</div>  
  • 写回答

1条回答 默认 最新

  • dongxiaoying5882 2017-11-10 11:20
    关注

    Replace your back button with following code.

    <!--zürück-->
    <div style="float:right">
        <input class="btn btn-primary" type="button" value="zur&uuml;ck" onclick="location.href = document.referrer;">
    </div>
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 怎样才能让鼠标沿着线条的中心线轨迹移动
  • ¥60 用visual studio编写程序,利用间接平差求解水准网
  • ¥15 Llama如何调用shell或者Python
  • ¥20 谁能帮我挨个解读这个php语言编的代码什么意思?
  • ¥15 win10权限管理,限制普通用户使用删除功能
  • ¥15 minnio内存占用过大,内存没被回收(Windows环境)
  • ¥65 抖音咸鱼付款链接转码支付宝
  • ¥15 ubuntu22.04上安装ursim-3.15.8.106339遇到的问题
  • ¥15 blast算法(相关搜索:数据库)
  • ¥15 请问有人会紧聚焦相关的matlab知识嘛?