开发框架 版主:迅睿框架研发组
为什么后台设置了留言提交成功跳转的URL链接,跳转的还是默认的留言模板
类型:迅睿CMS 更新时间:2021-10-22 16:40:54 ajax提交

为什么后台设置了留言提交成功跳转的URL链接,跳转的还是默认的留言模板,没有跳到指定链接去呢???


回帖
  • 迅睿框架技术-李波
    #1楼    迅睿框架技术-李波
    2021-10-20 15:26:01
    Chrome 0
    关键在于你提交按钮的代码写法,发来看看
    满意答案
  • 流星
    #2楼    流星
    2021-10-20 15:29:36
    Chrome 0


  • 流星
    #3楼    流星
    2021-10-20 15:33:10
    Chrome 0
    迅睿框架技术-李波
          <!--在线留言  开始-->
              <!-- 系统关键js(所有自建模板必须引用) -->
                <script type="text/javascript">var is_mobile_cms = '{IS_MOBILE}';</script>
                <script src="{LANG_PATH}lang.js" type="text/javascript"></script>
                <script src="{THEME_PATH}assets/global/plugins/jquery.min.js" type="text/javascript"></script>
                <script src="{THEME_PATH}assets/js/cms.js" type="text/javascript"></script>
                <!-- 系统关键js结束 -->
    	  <section class="wzlydb">
            <div class="dblxwb">在线留言<i></i></div>
            <form action="" enctype="multipart/form-data" method="post"  name="myform" id="myform">
                <input name="is_form" type="hidden" value="1">
              	<input name="is_admin" type="hidden" value="0">
             	 <input name="is_tips" type="hidden" value="">
             	 <input name="csrf_test_name" type="hidden" value="b1c042df3dc3078eae807334103064e5">
    			<table style="width:97%;" cellpadding="0" cellspacing="1">
    			<tr>
    			  <td align="right" valign="top">姓名:</td>
    			  <td><input class="form-control  " type="text" name="data[author]" id="dr_author" value="" style="width:200px;padding: 0 0 0 10px;">
    			</td>
    			</tr>
    			<tr>
    			  <td align="right" valign="top">电话:</td>
    			  <td><input class="form-control  " type="text" name="data[dianhua]" id="dr_dianhua" value="" style="width:200px;padding: 0 0 0 10px;">
    			</td>
    			</tr>
    			<tr>
    			  <td align="right" valign="top">留言:</td>
    			  <td><textarea class="form-control" style="height:100px; width:300px;padding: 10px 0 0 10px;" name="data[title]" id="dr_title"></textarea>
    			</td>
    			</tr>
              </table>
    			<div align='center' style='height:30px;padding-top:10px;'>
                  <button type="button" onclick="dr_ajax_submit('http://域名/index.php?s=form&c=yonghuliuyan&m=post', 'myform', '2000', 'http://域名/index.php?s=form&c=yonghuliuyan&m=post')">提交内容</button>
    			</div>
    		</form>
          </section>
          <!--在线留言  结束-->
  • 流星
    #4楼    流星
    2021-10-22 16:40:54
    Chrome 0
    @迅睿框架技术-李波:问题已解决