02
|
//ajax提交留言,由于涉及到提交地址标签的解析,JS需要放在html文件中
|
04
|
var url= '{pboot:msgaction}' ; //如果是自定义表单则使用地址{pboot:form fcode=*}
|
05
|
var contacts=$(obj). find ( "#contacts" ).val();
|
06
|
var mobile=$(obj). find ( "#mobile" ).val();
|
07
|
var content=$(obj). find ( "#content" ).val();
|
08
|
var checkcode=$(obj). find ( "#checkcode" ).val();
|
20
|
success: function (response, status) {
|
22
|
alert( "谢谢您的反馈,我们会尽快联系您!" );
|
28
|
error: function (xhr,status,error){
|
|