Closed xiaofanku closed 4 years ago
I suspect you are using different domains and you have a CORS issue, please see #1039. If not you will have to produce a minimal reproducible example.
I suspect you are using different domains and you have a CORS issue, please see #1039. If not you will have to produce a minimal reproducible example.
not cors, is same domain request.
a public domain test. you see is cros
i try replace input type=submit
to button type=submit
is worked, what is reason?
i try replace input type=submit to button type=submit is worked, what is reason?
Strange. That should not make any difference. Are you sure that's the only thing you have changed?
I doubled checked that on our remote example it seems to work the same for <input>
or <button>
. You can play with it by clicking the codepen button in http://parsleyjs.org/doc/examples/ajax.html for example
i try replace input type=submit to button type=submit is worked, what is reason?
Strange. That should not make any difference. Are you sure that's the only thing you have changed?
yes, I'm the only one of the developers
I doubled checked that on our remote example it seems to work the same for
<input>
or<button>
. You can play with it by clicking the codepen button in http://parsleyjs.org/doc/examples/ajax.html for example
At least I'm sure this is not the cause of CORS,
`
`
i used version: 2.9.1, jquery: 3.2.1, server response: 200. remove data-parsley-remote is worked