Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #748857

    Because i am building website on local i recorded the problem

    How to disable page reloading on button click. as you can see i used enfold button and linked to product item, but on click i want only item to go to cart and not reloading page again and sending me to top of the page.

    #748870

    Hey Uroš!

    We can see the video but it is hard to identify where the issue is or what can be wrong.
    We can only suggest disable cache, check permalinks and maybe disable Plugins

    For further help, we would have to check the web site live so we can help

    Regards,
    Basilis

    #749411

    Can i add custom class for buttons and create some JS codes that will prevent page reloading like:
    function getData(e) {
    e.preventDefault();
    }

    or

    onclick=”getData(); return false;

    and put it in “code block” element…if yes can you write me that code

    #751413

    Hi,

    no, we can’t write you this custom code. If you can’t create it by yourself, then please hire a freelance developer for this job.

    Best regards,
    Andy

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.