Filename: gplcb-checkbox-as-radio-button.js
gplcb-checkbox-as-radio-button.js
$( '.gplcb-checkbox-as-radio' ).find( 'input[type="checkbox"]' ).change( function() { $( this ).parents( '.gfield' ).find( 'input[type="checkbox"]' ).prop( 'checked', false ); $( this ).prop( 'checked', true ); } );
Your email address will not be published. Required fields are marked *
Comment *
Notify me of followup comments via e-mail
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.
Δ