Microsoft Azure AD B2C-email_ver_but_resend id-在同一页面中两次

问题描述

您好,我遇到Azure AD B2C的问题。基本上我的目的是在同一HTML页面中使用两次 具有相同ID的按钮email_ver_but_resend,例如:

<button id="email_ver_but_resend" class="sendButton" type="button" aria-label="Send new code" aria-hidden="false"><span>Resend_1</span></button>

<button id="email_ver_but_resend" class="sendButton" type="button" aria-label="Send new code" aria-hidden="false"><span>Resend_2</span></button>

,但是不允许使用此解决方案,因为ID应该是唯一的;确实不起作用。 我以为可以使用某些类而不是使用 email_ver_but_resend ID。

有什么建议吗?非常感谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)