• Resolved davethedon

    (@davethedon)


    Hi,

    I’m trying to get a popup to open on clicking one of the payment options radio buttons at checkout in WooCommerce, which loads in a right-hand sidebar via AJAX.

    It works if I set the popup’s extra class to be the parent li but even if I explicitly set the ID of the input radio element, it just doesn’t fire.

    It works fine when radio buttons aren’t loaded via AJAX, mind you.

    Thanks,
    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter davethedon

    (@davethedon)

    I see what the problem is. It’s because the input radio element specifically is being created and then replaced via AJAX, thus removing its bound events. I’ll work around it using custom Javascript.

    Thanks anyway. 🙂

    Maria T

    (@mariatogonon)

    Hello @davethedon – that’s awesome! Glad to hear that you were able to sort that out. 😊

    By the way, if you have a moment then we would very much appreciate it if you could quickly rate the plugin, just to help us spread the word.

    Have a great day!

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Some Form Elements not Working as Extra CSS Triggers after AJAX Load’ is closed to new replies.