Ich habe mehrere Senden-Schaltfläche in meinem Formular und alle Schaltfläche haben unterschiedliche Funktionen, aber nach dem Füllen alle das Textfeld mein endgültiges Senden das Formular nicht in Aktionsseite umleiten.Formular Aktion funktioniert nicht in meinen Schnipsel
Ich überprüfte alle Möglichkeiten, aber alles ist gut. Ich weiß nicht, wo ich falsch gelaufen bin. Bitte hilf mir. Danke im Voraus.
<script type="text/javascript" src="js/custom.js"></script>
<div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<section>
<div class="wizard">
<div class="wizard-inner">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active">
<a href="#step6" data-toggle="tab" aria-controls="step6" role="tab" title="Step 6">
<span class="round-tab">
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t <i class="glyphicon glyphicon-folder-open"></i>
\t \t \t \t \t \t \t \t \t \t \t \t \t \t </span>
</a>
</li>
<li role="presentation" class="disabled">
<a href="#step7" data-toggle="tab" aria-controls="step7" role="tab" title="Step 7">
<span class="round-tab">
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t <i class="glyphicon glyphicon-pencil"></i>
\t \t \t \t \t \t \t \t \t \t \t \t \t \t </span>
</a>
</li>
<li role="presentation" class="disabled">
<a href="#step8" data-toggle="tab" aria-controls="step8" role="tab" title="Step 8">
<span class="round-tab">
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t <i class="glyphicon glyphicon-picture"></i>
\t \t \t \t \t \t \t \t \t \t \t \t \t \t </span>
</a>
</li>
</ul>
</div>
<form action="models/confirm.php" method="post" enctype="multipart/form-data">
<div class="tab-content">
<div class="tab-pane active" role="tabpanel" id="step6">
<div class="mobile-grids">
<div class="mobile-left text-center">
<img src="images/dth.png" alt="" />
</div>
<div class="mobile-right ">
<h4>Pay your DTH bill. Which operator?</h4>
<div class="section_room">
<select class="frm-field required" id="opr_dth_code" name="opr_code" onchange="opr_dth_check();">
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t <option value="">Select DTH Operator</option>
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t <?php
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t include("models/db-settings.php");
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t $oprcmd = mysql_query("SELECT opr_name,opr_code FROM operator where opr_type='DTH'");
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t while($retopr = mysql_fetch_array($oprcmd))
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t {
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t ?>
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t <option value="<?php echo $retopr["opr_code"]; ?>"><?php echo $retopr["opr_name"]; ?></option>
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t <?php
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t }
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t ?>
\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t </select>
</div>
</div>
</div>
<ul class="list-inline pull-right">
<li><button type="button" id="opr_dth_button" disabled class="mob-btn btn btn-primary next-step">Next</button></li>
</ul>
</div>
<div class="tab-pane" role="tabpanel" id="step7">
<div class="mobile-grids">
<div class="mobile-left text-center">
<img src="images/dth.png" alt="" />
</div>
<div class="mobile-right">
<h4>What's your DTH Number?</h4>
<div class="dth-rchge">
<input type="text" name="req_number" id="req_dth_number" data-type="num" maxlength="11" onkeypress='return event.charCode >= 48 && event.charCode <= 57' onkeyup="dth_check();" required="">
</div>
</div>
</div>
<ul class="list-inline pull-right">
<li><button type="button" class="mob-btn btn btn-default prev-step">Previous</button></li>
<li><button type="button" id="dth_submit" disabled class="mob-btn btn btn-primary next-step">Next</button></li>
</ul>
</div>
<div class="tab-pane" role="tabpanel" id="step8">
<div class="mobile-grids">
<div class="mobile-left text-center">
<img src="images/dth.png" alt="" />
</div>
<div class="mobile-right ">
<h4>How Much To Recharge?</h4>
<div class="dth-rchge">
<input type="text" name="req_amount" id="req_dth_amount" placeholder="Amount" required="" onkeyup="dth_amount_chck();">
</div>
</div>
</div>
<ul class="list-inline pull-right">
<li><button type="button" class="mob-btn btn btn-default prev-step">Previous</button></li>
<li><button type="button" id="dth_amount_submit" class="mob-btn btn btn-primary btn-info-full">Make Payment</button></li>
</ul>
</div>
<div class="clearfix"></div>
</div>
</form>
</div>
</section>
</div>
</div>
</div>
</div>
Sind diejenigen, die nicht in Unterverzeichnissen arbeiten? Verweisen Sie das Skript relativ zu root. '/ js/custom.js', notieren Sie die'/' –
Indention gegangen :) –