【发布时间】:2020-08-22 21:50:55
【问题描述】:
尝试在退货确认中添加链接
<a onclick="return confirm('Before downloading the App please make sure that you have read our polices');">[...]
最后的政策应该是一个超链接。
【问题讨论】:
标签: javascript html popup href
尝试在退货确认中添加链接
<a onclick="return confirm('Before downloading the App please make sure that you have read our polices');">[...]
最后的政策应该是一个超链接。
【问题讨论】:
标签: javascript html popup href
很遗憾,您只能将纯文本添加到原生 javascript 确认函数中。
您可能想要使用 jquery 插件或类似的东西,它使您能够拥有自定义对话框窗口。
jQuery 用户界面:https://jqueryui.com/dialog/#modal-confirmation
【讨论】: