As you can't uncheck a radio and only one radio in the group can be checked, any change would normally be to check it, and if the ID of the checked radio matches Tester
, show DripFeed1
and hide DripFeesd
, otherwise do the opposite :
$('[name="PackageID"]').on('change', function() {
var state = this.id == 'Tester';
$('[name="DripFeed1"]').toggle(state);
$('[name="DripFeed"]').toggle(!state);
});
Note that ID's are unique, and you're using select3-basic
multiple times (and the same tabindex).