帝国CMS反馈表单
摘要:帝国CMS反馈表单使用说明,操作指南,解决方法,实用技巧,有什么用?怎样 咋样 如何 怎么设置帝国CMS反馈表单?教程免费下载.用于帝国CMS8.0,7.5,7.2,7.0
<form name='feedback' method='post' enctype='multipart/form-data' action='/e/enews/index.php'>
<input name='enews' type='hidden' value='AddFeedback'>
<input type=hidden name=bid value=1>
<input type=hidden name=ecmsfrom value="/">
</form>
jQuery Ajax异步提交
<script>
$(function () {
$('#submit2').click(function(){
if(phone2.value.length!=11){
alert('请填写11位正确的手机号')
return true;
}
var params = {
enews: "AddFeedback",
title: $('#username2').val(),
mycall: $('#phone2').val(),
saytext: $('#message2').val(),
}
$.post("/e/enews/index.php",params,function(data){
alert('提交成功')
});
})
});
</script>