21.02.2022, 09:41
(21.02.2022, 08:59)admin Wrote: This JS will click every element with autoclick class on plan change (won't trigger when the first default plan is shown):
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; }
Thank you, it works!!
But it's possible to apply to the first default plan?