以下是表格:
<form name="request" action="request.php" method="get">
<h2 id="sum">5.99€</h2>
<h6>Per Month</h6>
<input type="hidden" name="hide">
<!--The Hidden Input is there for testing purposes-->
<input type="submit">
</form>
以下是该部分的完整代码:
<section id="contact">
<div class="container">
<div class="col-lg-12 text-center">
<h2 class="section-heading">Ordering Form</h2>
<p class="text-muted">Choose some web essentials and add them to your plan
<br><a class="page-scroll">Get to know the essentials</a></p><br>
<form name="request" action="request.php" method="get">
<h2 id="sum">5.99€</h2>
<h6>Per Month</h6>
<input type="hidden" name="hide">
<!--The Hidden Input is there for testing purposes-->
<input type="submit">
</form>
<script type="text/javascript">
//Some JavaScript which doesn't have anything to do with the form
</script>
</div>
</div>
</section>
当我点击提交按钮时,它只是没有做任何事情。没有错误消息,没有404,没有PHP错误。
希望你能帮助我!