0
我正在尝试为我的网站实现反馈框。我用这个jquery(http://grasshopperpebbles.com/demos/index.php/jqueryui/feedback/dialog)。解释在链接博客文章中给出。我能够显示对话框,但不读取send_mail.php。为什么?jquery反馈对话框
在此先感谢。
我正在尝试为我的网站实现反馈框。我用这个jquery(http://grasshopperpebbles.com/demos/index.php/jqueryui/feedback/dialog)。解释在链接博客文章中给出。我能够显示对话框,但不读取send_mail.php。为什么?jquery反馈对话框
在此先感谢。
没关系。我自己修复了它。这是为那些正在寻找答案的人。在'ui.imFeedBack-0.5.2.js'文件中,我更改了sendFeedback函数部分。下面是代码 -
sendFeedBack: function() {
x=$("#imFeedBack-FormContainer").serialize();
$.post("send_mail.php",'&'+x,function(result){
$('#imFeedBack-FormContainer').html(result);
});
}
您可以根据您的要求
没关系更改此。我自己修复了它。这是为那些正在寻找答案的人。 在'ui.imFeedBack-0.5.2.js'文件中,我更改了sendFeedback函数部分。这里是代码 - sendFeedBack:function(){ x = $(“#imFeedBack-FormContainer”)。serialize(); ('#imFeedBack-FormContainer').html(result); }); $ .post(“send_mail.php”,'&'+ x,function(result){} 您可以根据您的要求对此进行更改 – user556773 2011-05-05 09:37:17