By using Elementorforum.com’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Unofficial Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!
elementor official

Button widget image does not reset

S

ssolie

New Member
I have a page with some Elementor Button Widgets on it.

When I click on a button the image changes to a depressed button image but then it gets stuck. It won't change back to an unclicked button image.

I suspect I need to do something in the click() callback to reset the image.

I'm using code to capture button clicks so that I can perform backend processing as follows:

JavaScript:
document.addEventListener('DOMContentLoaded', doSomething);
async function doSomething(){console.info('DOM loaded');
    jQuery('#stop-button a').click(stopButtonClicked);
}
async function stopButtonClicked(){console.info('Stop Button');
}
 
elementor official

Latest posts

Other Elementor Resources

elementor official
elementor official
Top