首页  >  问答  >  正文

如何删除原有的提交必填表单,(期待***区域(必)这行表单,让页面正常提交

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<元字符集="UTF -8">

<?php echo $cf['site_name'];?>< ;/title></p><p>    <meta name="keywords" content="<?php echo $cf['page_keywords'];?>" /></p><p>    <meta name="description" content="<?php echo $cf['page_desc'];?>" >> </p><p> <link rel="stylesheet" href="themes/<?php echo $cf['agent_themes'];?>/css/pc.css"></p><p> <link href="<?php echo $cf['manage_themes']; ?>/assets/font-awesome/css/font-awesome.css" rel="stylesheet" /></p><p><!--- 手机自适应代码 --> </p><p><脚本类型=“text/javascript”></p><p>var mobileAgent = new Array("iphone", "ipod", "ipad", "android", "mobile", "blackberry"、"webos"、"incognito"、"webmate"、"bada"、"nokia"、"lg"、"ucweb"、"skyfire");</p><p>var browser = navigator.userAgent。 toLowerCase(); </p><p>var isMobile = false; </p><p>for (var i=0; i<mobileAgent.length; i++){ if (browser.indexOf(mobileAgent[i])!=-1){ isMobile = true; } </p><p>//警报(mobileAgent[i]); </p><p>location.href = "wapreg.php";</p><p>break; } </p><p></script></p><p><script src="./themes/manage/layer/jquery-1.9.1.min.js"></script> </p><p><脚本 src="./themes/manage/layer/layer.js"></script></p><p></head></p><p>< body></p><p><?php</p><p> $act = $_GET["act"];</p><p>$yqm = trim($_GET["yqm"]);</p><p>  $FileID=date("Ymd") 。 ”。 rand(0,99);</p><p>$regagentid=$cf['agent_ew'].$FileID;</p><p>?></p><p> <div class="wrap" ></p><p> </p><p> <!--- 顶部 --></p><p> <div class="header"></p><p> <div class="hd c_float"></p><p> <div class="bd_w70"></p><p> <div class="f_left left_wp"></p><p> <img class="logo" src="themes/<?php echo $cf['agent_themes'];?>/images/logo.png" alt="" //></p><p> </div></p><p> <div class="f_right right_wp c_float"></p><p> <div class="c_float f_left pg_wrap"></p><p> < ;p class="f_left index_pg"></p><p> <a class="color_yellow" href="agent.php" ><b><i class=" icon-zoom-in"> ;</i>  ***商授权查询</b></a></p></p><p> </p><p> </div></p><p> <a onclick=" agentlogin()" ><div class="f_right login"><i class="icon-rocket"></i> 进入***商平台</div></a></p><p> </p><p><script></p><p>  function agentlogin(){</p><p>layer .open({</p><p>  type: 2,</p><p>  title:'手机扫一扫登陆',</p><p>  Skin: 'layui-layer-rim', //加上认识</p><p> 阴影关闭:true,</p><p> 阴影:0.3,</p><p> 区域:['240px','240px'],</p><p> 内容:'qrcode_login. php'</p><p>}); </p><p> }</p><p></script></p><p> </div></p><p> </div></p><p> </div> ;</p><p> </div>;</p><p> <!---顶部END --> </p><p> </p><p> </p><p> <!---注册开始 --> </p><p> </p><p> <div></p><p> </p><p> <div class="banner"></p><p> <h1 class="f_left ">申请成为***商</h1></p><p><!---开始 --></p><p>   <form name="formagent" method="post" enctype="multipart/form-data" action="?act=regagent"></p><p><!--注册表单开始,以下为隐藏表单字段 --> </p><p>  <input name="agentid" id="agentid"   type="hidden"  value="<?php echo $regagentid; ?>" /></p><p>  <input  type="hidden" name="applytime" value="<?php echo date('Y-m-d h:s',time());?>"></p><p>  <input type="hidden"name="url"  value=""  ></p><p>  <input type="hidden" name="addtime" value="<?php echo date("Y-m-d");?>"  ></p><p>  <input type="hidden" name="jietime" value="<?php echo date("Y-m-d",strtotime("+365 days"));?>"  ></p><p>  <input type="hidden" id="about"  ></p><p>  <input type="hidden" name="tel"   > </p><p>  <input type="hidden" name="dizhi"   ></p><p>  <input type="hidden" name="beizhu" id="beizhu"  value=""></p><p>  <input type="hidden" name="shzt"  value="2"></p><p>  <input type="hidden" name="hmd"   value="no"></p><p>  <input type="hidden" name="password"   value="123456" ></p><p>  <!--以下为可填写表单字段 --> </p><p>  <div class="reg_box"></p><p> </p><p>  <div class="reg_wp"  ></p><p>  <div class="reg_input_wp "  > </p><p>  <input name="name"  id="name"   class="f_left " type="text"   placeholder="您的姓名(必填)" ></p><p>  </div> </p><p>  </div></p><p>  </p><p>  <div class="reg_wp"></p><p>  <div class="reg_input_wp "> </p><p>  <input name="phone"  id="phone"   class="f_left " type="text"  placeholder="您的手机号(必填)"  onkeyup="value=value.replace(/[^1234567890-]+/g,'')"></p><p>  </div> </p><p>  </div></p><p>  </p><p>  <div class="reg_wp" ></p><p>  <div class="reg_input_wp "  > </p><p>  <input name="weixin"  id="weixin"   class="f_left " type="text"   placeholder="您的微信号(必填)" ></p><p>  </div> </p><p>  </div></p><p>  </p><p>  <div class="reg_wp"></p><p>  <div class="reg_input_wp "> </p><p>  <input name="idcard"  id="idcard"   class="f_left " type="text"  placeholder="您的***号(必填)" ></p><p>  </div> </p><p>  </div></p><p>  </p><p> <!-- 判断是否是***发起的邀请的注册,是则隐藏上级***表单填写,改为自动获取 --></p><p>  <?php if($yqm=="") {?></p><p>   <div class="reg_wp"   ></p><p>  <div class="reg_input_wp "> </p><p>  </p><p>  <input  name="sjdls" type="text"  class="f_left "  id="sjdls" value="<?php echo $yqm; ?>"   placeholder="上级***微信"></p><p><br/></p><p>  </div> </p><p>  </div></p><p>  <?php }else {?></p><p>  <输入 name="sjdls" type="hidden"  class="f_left"  id="sjdls" value="< ;?php 回显 $yqm;>"  ></p><p>  <?php }?></p><p> <!-- 结束判断 --> </p><p> </p><p>   <div class="reg_wp" ></p><p>  <div class="reg_input_wp"  ></p><p>   <select name="产品" class="f_left"   style="width:100%;height:40px;"  > </p><p> <选项值=“全部产品”>不限***产品</选项></p><p> <?php </p><p> $pro = mysql_query(" SELECT * FROM tgs_pro order by id desc ");</p><p>          while($row = mysql_fetch_array($pro))</p><p>         {</p><p>           $pro_name = $row['pro_name' ];</p><p>     $pro_id = $row['id'];</p><p> ?></p><p> </p><p> <选项值=“<?php回声 $pro_id; ?>"><?php 回声 $pro_name; ?></option><?php }?></select></p><p> </p><p> </select></p><p>  </div></p><p>  </div></p><p>  </p><p>  </p><p>  </p><p>  </p><p>   <div class="reg_wp" > </p><p>  <div class="reg_input_wp " > </p><p>  <input </p><p>   name="quyu" type="text"  class="f_left"  id="quyu"    placeholder="期待***区域(必填)"> </p><p>  </div>; </p><p>  </div>;</p><p>  </p><p>  </p><p>  </p><p>    <div class="reg_wp"  ></p><p>  <div class="reg_input_wp " > ;</p><p>   <select name="dengji"  class="f_left" style="width:100%;height:40px;" id="dengji" > </p><p>  </p><p> <?php </p><p> $pro = mysql_query("SELECT * FROM tgs_dljb order by id desc ");</p><p>                            while($row = mysql_fetch_array($pro))</p><p>                             {</p><p>                                $dljb = $row['dljb'];</p><p> $jbid = $row['id'];</p> <p> ?></p><p> </p><p>    <选项值="<?php echo $jbid; ?>"><?php echo $dljb; ?></option><?php }?></select></p><p> </select></p><p>  </div></p><p>  < ;/div></p><p> </p><p> </p><p> <?php  if($cf['yzm_status']==1){ </p><p> ?></p><p> <div class="reg_yzm_wp" style="width:300px;"></p><p> <div class="reg_yzm_input"> </p><p> <input id='yzm' name="yzm"  class="f_left"  type="text" placeholder="验证码" //></p><p> <div class=" f_right  reg_yzm_search_btn"><img src="data/code.php" alt="验证码"  title="点击刷新"  style="width:100px;" onclick="this.src='data/code.php?d='+Math.random();"/></div></p><p> </p><p> </div>; </p><p> </div></p><p> <?php } ?> </p><p> </p><p> <button type="submit" class="reg_search_btn">提交申请</button> </p><p>                 </p><p> </p><p> </p><p> <div class="页脚"></p><p>       <divalign="center"> <a href="https://www.shcnn.com" target="_top" class="STYLE2 STYLE1">版权所有:商海软件</a></p><p>         </p><p>         </p><p>                       </div></p><p>   </div>;</p><p> </p><p>   </form></p><p> </p><p> </p><p> </p><p> </p><p> < /div></p><p> </p><p><br/></p><p> </p><p> </div></p><p></body></p><p><br/></p><p></p><p></p><p></p>##<脚本><p></p> $("#search").click(function (){<p></p> $("#trace_form").submit();<p></p> });<p></p></脚本><p></p></ html><p></p><p><br/></div><div class='info mb-10'><a rel="nofollow" href=" http://m.php.cn/zh/member/61811.html"><img src='https://img.php.cn/upload/avatar/000/000/001/326ba1ceb5999ed339e447912e1da873.jpg' alt="商海科技吴生"><span style="margin-left: 5px;">商海科技吴生</span></a><span class='pl-10'>2160 天前</span><span class='pl-10'>1470 <b class="kclbcollectb"></b></span></div></div><div class="course-list discuss layui-clear bg-white"><h3>全部回复(0)<span class="detail_answer"><span id="discuss-wenda">我来回复</span></span></h3><div class="no_data"><div></div>暂无回复</div></div><div class='discuss-submit bg-white'><li class='info layui-clear'><span class='f-left' id='discuss-submit-close'>取消</span><span class='f-left wenda-reply-text'>回复</span></li><li class='layui-clear'><textarea type='text' rows="6" placeholder="请输入您的评论内容" class="wenda-reply-content-text"></textarea></li><li class='layui-clear'><button class="layui-btn layui-btn-danger f-right wenda-reply-publish-button">发布</button></li></div><div class='lock-screen' id='lock-screen'></div><script src="/static/ueditor/third-party/SyntaxHighlighter/shCore.js"></script><div class="headerMask"></div><link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css' type='text/css' media='all'/><script type='text/javascript' src='/static/js/viewer.min.js?1'></script><script type='text/javascript' src='/static/js/jquery-viewer.min.js'></script><div class="nphpFoot"><div class="nphpFootBg"><ul class="nphpFootMenu"><li><a href="http://m.php.cn/zh/"><b class="icon1"></b><p>首页</p></a></li><li><a href="http://m.php.cn/zh/course.html"><b class="icon2"></b><p>课程</p></a></li><li><a href="http://m.php.cn/zh/wenda.html"><b class="icon4"></b><p>问答</p></a></li><li><a href="http://m.php.cn/zh/login"><b class="icon5"></b><p>我的</p></a></li><div class="clear"></div></ul></div></div><div class="nphpYouBox" style="display: none;"><div class="nphpYouBg"><div class="nphpYouTitle"><span onclick="$('.nphpYouBox').hide()"></span><a href="http://m.php.cn/zh/"></a><div class="clear"></div></div><ul class="nphpYouList"><li><a href="http://m.php.cn/zh/"><b class="icon1"></b><span>首页</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/course.html"><b class="icon2"></b><span>课程</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/article.html"><b class="icon3"></b><span>文章</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/wenda.html"><b class="icon4"></b><span>问答</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/dic.html"><b class="icon6"></b><span>词典</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/course/type/99.html"><b class="icon7"></b><span>手册</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/xiazai/"><b class="icon8"></b><span>下载</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/zh/faq/zt" title="专题"><b class="icon12"></b><span>专题</span><div class="clear"></div></a></li><div class="clear"></div></ul></div></div><div class="nphpDing" style="display: none;"><div class="nphpDinglogo"><a href="http://m.php.cn/zh/"></a></div><div class="nphpNavIn1"><div class="swiper-container nphpNavSwiper1"><div class="swiper-wrapper"><div class="swiper-slide"><a href="http://m.php.cn/zh/" >首页</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/article.html" >文章</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/wenda.html" class="hover">问答</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/course.html" >课程</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/faq/zt" >专题</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/xiazai" >下载</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/game" >手游</a></div><div class="swiper-slide"><a href="http://m.php.cn/zh/dic.html" >词典</a></div><div class="clear"></div></div></div><div class="langadivs" ><a href="javascript:;" class="bg4 bglanguage"></a><div class="langadiv" ><a onclick="javascript:setlang('zh-cn');" class="language course-right-orders chooselan " href="javascript:;"><span>简体中文</span><span>(ZH-CN)</span></a><a onclick="javascript:setlang('en');" class="language course-right-orders chooselan " href="javascript:;"><span>English</span><span>(EN)</span></a><a onclick="javascript:setlang('zh-tw');" class="language course-right-orders chooselan " href="javascript:;"><span>繁体中文</span><span>(ZH-TW)</span></a><a onclick="javascript:setlang('ja');" class="language course-right-orders chooselan " href="javascript:;"><span>日本語</span><span>(JA)</span></a><a onclick="javascript:setlang('ko');" class="language course-right-orders chooselan " href="javascript:;"><span>한국어</span><span>(KO)</span></a><a onclick="javascript:setlang('ms');" class="language course-right-orders chooselan " href="javascript:;"><span>Melayu</span><span>(MS)</span></a><a onclick="javascript:setlang('fr');" class="language course-right-orders chooselan " href="javascript:;"><span>Français</span><span>(FR)</span></a><a onclick="javascript:setlang('de');" class="language course-right-orders chooselan " href="javascript:;"><span>Deutsch</span><span>(DE)</span></a></div></div><script> var swiper = new Swiper('.nphpNavSwiper1', { slidesPerView : 'auto', observer: true,//修改swiper自己或子元素时,自动初始化swiper observeParents: true,//修改swiper的父元素时,自动初始化swiper }); </script></div></div><!--顶部导航 end--><script>isLogin = 0;</script><script type="text/javascript" src="/static/layui/layui.js"></script><script type="text/javascript" src="/static/js/global.js?4.9.47"></script></body></html>