xxxxxxxxxx
<button
type="button"
id="popconfirm"
class="btn btn-primary popconfirm-toggle d-none"
>
</button>
document.getElementById('popconfirm').click();