New answers tagged ajax
0
votes
Accepted
Ajax response no longer returns true after updating to craft 4
Controllers in Craft 4 generally use the asSuccess and asFailure methods, which return 200 and 400 status codes respectively, in response to JSON requests.
Both methods also send a message parameter ...
Top 50 recent answers are included
Related Tags
ajax × 172plugin-development × 28
templating × 18
javascript × 18
craft3 × 17
form × 16
controller × 13
csrf × 13
jquery × 10
plugin-craftcommerce × 9
filter × 8
frontend × 8
entries × 7
categories × 7
pagination × 7
json × 7
plugins × 6
plugin-contactform × 6
guest-entries × 6
plugin-elementapi × 5
frontend-form × 5
control-panel × 4
search × 4
craft2 × 4
user-profile × 4