# How to execute server-side code when clicking a button?

**URL:** <https://meta.discourse.org/t/how-to-execute-server-side-code-when-clicking-a-button/265795>\
**Category:** Development\
**Created:** [May 19, 2023, 3:03pm UTC](https://meta.discourse.org/t/how-to-execute-server-side-code-when-clicking-a-button/265795 "2023-05-19T15:03:07Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [May 20, 2023, 10:19pm UTC](https://meta.discourse.org/t/how-to-execute-server-side-code-when-clicking-a-button/265795/9 "2023-05-20T22:19:30Z")

</div>

You can try searching for `PostDestroyer`

---

_[View the full topic](https://meta.discourse.org/t/how-to-execute-server-side-code-when-clicking-a-button/265795)._
