jQuery插件冲突 - 请帮助 [英] jQuery plugin conflicts - please assist
问题描述
的目的是要表明,将更新页面上的分度,结果的表格
The aim is to show a form which will update the div on the page with the result
- 在加载此[页面]
- 点击linkto展示的形式
- 提交表单
- load this [page]
- click the linkto show the form
- submit the form
在提交时,结果不会在DIV显示,如果表格已被隐藏了。
When submitting, the result does not show in the div if the form had been hidden.
-
添加code在回答以下问题,建议后,我展现形式,它被提交,但数据没有出现在股利我给当作ajaxForm为目标
after adding the code suggested in the below answers, I show the form, it gets submitted, but the data is not appearing in the div I give the ajaxForm as target
[这里]是不显示结果的DIV
[Here] is the same form that does show the result in the div
感谢
推荐答案
当您提交表单,请求被发送到服务器,你获得一个HTTP错误: 405不允许的方法
。
When you submit the form, the request is sent to the server and you obtain a HTTP Error: 405 Method Not Allowed
.
它看起来像它来自您的服务器的配置。 http://www.checkupdown.com/status/E405.html
It looks like it comes from the configuration of your server. http://www.checkupdown.com/status/E405.html
编辑:作为你的code适用于您的示例中的 facy.html 的页面,我认为它并没有真正来自服务器。这两个例子之间的差异是的动作的形式。
as your code works for your example in the facy.html page I think it doesn't really comes from the server. The difference between the two examples are the action of the form.
- fancy.html:你加载一个PHP文件
- fancy3.html:您加载HTML文件
你有没有试着打电话给你的谢谢的网页thanks.php和修改的动作的你的形式相应。我想,你的服务器可能不允许在HTML页面中的POST请求。
Did you try to call your thank you page "thanks.php" and modify the action of your form accordingly. I suppose that your server might not allow POST request on an HTML page.
这篇关于jQuery插件冲突 - 请帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!