• Join the Best Wordpress and 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!

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');
}
 

Latest Resources

Other Elementor Resources

elementor official

Still stuck? Ask the forum

Post your question with a screenshot and a link if you can, and a member will usually reply within a day. Free to join, no sales pitch.

Create a free account
Top