I want to change the content of what's being sent to post.php when I click on the publish/update button.

Specifically I want to append content using javascript.

So let's say I'm clicking on update, I can see that this sends a request to post.php with parameters (presumably including the content of the post).

How can I modify this before it gets to post.php?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.