Hello all and thanks for helping.
On my website I have a plugin that runs a custom php application. This works fine, except for one thing. When I click on the button, it reloads the page and goes to the top of the page.
I’ve searched online ofcourse and found a couple of things relating to Ajax within wp forms of gravity forms, but I’ve no idea how to fix that for my specific situation, the php code is run in XYZ PHP CODE Snippets.
I’m hoping at least one of you have experienced a similar problen and remembers how you’ve fixed it.
What button are you clicking on? There’s a lot of missing context here to understand, before we can give a answer
u/Valoneria Thank you for responding
[https://rateringisolaties.eu/](https://rateringisolaties.eu/)
This is the website. On the homepage and on [https://rateringisolaties.eu/prijs-isolatie/](https://rateringisolaties.eu/prijs-isolatie/)
I have a custom code showing a calculator for the visitor to calculate cost. This works just as it should, but when ever you press the button to do the calculating, it reloads the page, and goes to top of page. The calculator still does its thing though.