Support

Home Forums Event Espresso Premium Table View with ticket selector and checkout button Reply To: Table View with ticket selector and checkout button

Reply To: Table View with ticket selector and checkout button

Author Replies
Josh # Posted on May 15, 2018 at 4:06 pm

Or try this which does the same thing but uses a different event handler:

function ee_custom_mer_radio_button_clear() {
    wp_add_inline_script( 
        'espresso_multi_event_registration',
        'jQuery( document ).ready(function() {
            jQuery( document ).ajaxComplete( function() {
                jQuery( ".ticket-selector-tbl-qty-slct" ).each( function() {
                    jQuery( this ).prop( "checked", false );
                });
            });
        });'
    );
}
add_action( 'wp_enqueue_scripts', 'ee_custom_mer_radio_button_clear', 11 );
Do NOT follow this link or you will be banned from the site!