Need help to trigger a WP Function on Button Click

Job ID: 31158538

Budget: $10 – $20 USD

Hey, if you are a PHP WordPress Master then you will definitely be expert how to trigger a function on a Button click given in the frontend.

So Basically i have written a function and that works perfectly in a different way but I want to execute that when someone clicks in a button displayed in a page.

So let me know if anyone of you knows this quick solution.
Important: Reply with PHP-MASTER.
If i find any bid without above keyword, i will report you, and you must be an expert because for a php wordpress expert, its just a 10 to 20min task.
Related categories: PHP JavaScript AJAX