21.02.2022, 08:59
This JS will click every element with autoclick class on plan change (won't trigger when the first default plan is shown):
You can also hide these elements if needed via CSS:
Code:
$(function(){
$(document.body).on('showplan', function(e, id) {
$('#plan-' + id).find('.autoclick').click();
});
});
You can also hide these elements if needed via CSS:
Code:
.autoclick {
visibility: hidden;
}