jQuery plugin conflicts - please assist

后端 未结 6 1659
一个人的身影
一个人的身影 2021-01-21 22:18

The aim is to show a form which will update the div on the page with the result

  1. load this [page]
  2. click the linkto show the form
  3. submit the form
6条回答
  •  孤街浪徒
    2021-01-21 22:39

    When you submit the form, the request is sent to the server and you obtain a HTTP Error: 405 Method Not Allowed.

    It looks like it comes from the configuration of your server. http://www.checkupdown.com/status/E405.html

    Edit: 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: you load a PHP file
    • fancy3.html: you load an HTML file

    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.

提交回复
热议问题