I’ve used jQuery’s .ajax plenty. One of the things I’ve used often is data: {
"action": "submit_new_post"
},
which references the php function that would give it data.
The Question: in an regular xhr or better, es6’s fetch how do something similar to data:{action:php_function_thing}
Author
Posts
Viewing 1 post (of 1 total)
The forum ‘JavaScript’ is closed to new topics and replies.