Example 2 - How to Handle AJAX request on the Same Page – PHP

Checked the checkboxes and click the button.

JavaScript
PHP
jQuery
AJAX