繁体   English   中英

单击时“提交”按钮消失

[英]Submit button disappears when clicked

当您填写表格并单击“开始收入”按钮时,该按钮将消失!!! 它仍然可以通过并进入下一页,因此可以进行很多工作,但是我不知道为什么按钮消失了。

    <?php /*** Form begins here ***/ ?>
    <form method="post" action="redirect.php" name="home_sub" accept-charset="utf-8" id="home_sub">
        <div class="form_fields">

            <p><label for="first_name" class="over">First Name:</label>
            <input name="first_name" id="first_name" class="text_input required" type="text" value="" onClick="$('#optinsection').show()" /></p>

            <p><label for="last_name" class="over">Last Name:</label>
            <input name="last_name" id="last_name" class="text_input required" type="text" value="" onClick="$('#optinsection').show()" /></p>

            <p><label for="email" class="over">E-mail:</label>
            <input name="subscriber_email" id="email" class="text_input xverify_email required" type="text" value="" onClick="$('#optinsection').show()" autocomplete="off" /></p>

            <p><label for="custom_Address" class="over">Address:</label>
            <input name="custom_Address" type="text" id="custom_Address" value="" class="text_input" autocomplete="off" /></p>

            <p><label for="custom_City" class="over">City:</label>
            <input name="custom_City" type="text" id="custom_City" value="" class="text_input" autocomplete="off" /></p>

            <p><label class="hidden">Select State</label>
            <select name="custom_State" id="custom_State" class="select_input">
                <option value="">Select State</option>
                <option value="AL">Alabama</option>
                <option value="AK">Alaska</option>
                <option value="WY">Wyoming</option>
            </select></p>

            <p><label for="custom_ZipCode" class="over">Zip code:</label>
            <input name="custom_ZipCode" type="text" id="custom_ZipCode" class="text_input required" value="" maxlength="5" autocomplete="off" /></p>

            <p><label class="hidden">Birth Month</label>
            <select name="custom_DOBMonth" id="custom_DOBMonth" class="select_input select_month">
                <option value="">Birth Month</option>
                <option value="01">January</option>
                <option value="02">Febuary</option>
            </select>
            <label class="hidden">Birth Day</label>
            <select name="custom_DOBDay" id="custom_DOBDay" class="select_input select_day">
                <option value="">Day</option>
                <?php for($dy=1; $dy<32; $dy++){
                    $sdy = $dy < 10? '0'.$dy: $dy;
                    echo '<option value="'.$sdy.'">'.$dy.'</option>';
                } ?>
            </select>
            <label class="hidden">Birth Year</label>
            <select name="custom_DOB_Year" id="custom_DOB_Year" class="select_input select_year">
                <option value="">Year</option>
                <?php for($yr=2000; $yr>1910; $yr--){
                    echo '<option value="'.$yr.'">'.$yr.'</option>';
                } ?>
            </select></p>

            <p><label class="hidden">Select Gender</label>
            <select name="custom_Gender" id="custom_Gender" class="select_input">
                <option value="">Select Gender</option>
                <option value="M">Male</option>
                <option value="F">Female</option>
            </select></p>

            <p><label for="custom_Phone" class="over">Phone: (xxx-xxx-xxxx)</label>
            <input type="text" name="custom_Phone" id="custom_Phone" class="text_input" value="" /></p>

                <span id="optinsection">

                    <br />
                    <input type="checkbox" name="chk_allinbox" id="chk_allinbox" class="required" value="1"  />
                            By checking this box, you agree to our Terms of Service and Privacy Policy and agree to receive daily newsletters and promotions via email from BestHotSurveys.com.
                    <br /><br />        

        </div>
        <div class="form_button">
            <input type="submit" class="submit" onclick="javascript: return TMG_CheckForClick(); ShowExitPopup=false;" />
        </div>
    </form>
    <?php /*** Form ends here ***/ ?>

单击提交按钮后,从您提供的站点中,提交按钮包装div form_buttonbackground-image样式设置样式。

在按钮之前单击:

 <div class="form_button">
     <input type="submit" class="submit" onclick="javascript: return TMG_CheckForClick(); ShowExitPopup=false;">
 </div>

单击按钮后并通过验证:

<div class="form_button" style="background-image: url(http://www.besthotsurveys.com/images/form_bottom_sending.gif);">
     <input type="submit" class="submit" onclick="javascript: return TMG_CheckForClick(); ShowExitPopup=false;" disabled="disabled">
</div>

因此,请查看您的TMG_CheckForClick以删除该style或检查该image的可用性。

当前用于图像访问

在此服务器上找不到请求的URL /images/form_bottom_sending.gif。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM