Good day.
tell me how to make the code written in the php file executed when the button is clicked, or configure the button so that it does not switch to the php page, but only executes the code.
It is better if it is possible to write the code as the action performed by the button
code execution button.
Re: code execution button.
You will need to implement an ajax script for this.
For example:
https://www.w3schools.com/jquery/ajax_ajax.asp
For example:
https://www.w3schools.com/jquery/ajax_ajax.asp
- BaconFries
-
- Posts: 5648
- Joined: Thu Aug 16, 2007 7:32 pm