code execution button.

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
Oleksandr
 
 
Posts: 171
Joined: Fri Aug 11, 2023 10:03 am

code execution button.

Post by Oleksandr »

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
User avatar
Pablo
 
Posts: 22489
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: code execution button.

Post by Pablo »

You will need to implement an ajax script for this.

For example:
https://www.w3schools.com/jquery/ajax_ajax.asp
Post Reply