欢迎访问热站网,开始您的建站营销之旅!!

您现在的位置: 首页>>pbootcms教程

PbootCMS使用Ajax无刷新提交留言及表单

来源:热站网 发布时间:2026-04-08 18:14:34 热度:0 ℃

留言表单


 <form onsubmit="return submsg(this);">    
  联系人<input type="text" name="contacts" required id="contacts">    
  手 机<input type="text" name="mobile" required id="mobile">    
  内 容<textarea name="content" id="content"></textarea>    
  验证码<input type="text" name="checkcode" required id="checkcode">    
  <img title="点击刷新" src="{pboot:checkcode}" onclick="this.src='{pboot:checkcode}?'+Math.round(Math.random()*10);" />    
  <button type="submit">提交留言</button>    
  </form>

Ajax提交

  {pboot:nav}    
  <a href="[nav:link]">[nav:name]</a>    
  {/pboot:nav}


文章搜集与网络,如有侵权请联系本站,转载请说明出处:https://www.rezhanwang.com/pbootcms/3692.html

责任编辑:热站网
 
QQ在线咨询