Relative Content

Tag Archive for javascriptphpajaxwordpressbutton

How to retain data after reload the page

I have two buttons in a form, and I want to retrieve the data of my method create post to generate a list of the data in a row. The problem is when I reload the page, the list disappear and it reload the page when I click on one of the button.

WordPress Ajax switch style from a button

I want to add a switch button to a banner , so It can change the style between 2 styles.I need to use Ajax. These styles are already settled from another php file ( a form):