我在我的网站上使用了一个警报插件。该警报提示用户选择多个选项中的一个。像图像的东西。
问题是按钮是这样动态生成的
var html = "<div id='reject-options'></br> ";
html += "<a href='#' class='button alert small radius' data-bind='click: $root.blacklistOrderForMatch'>" + Texts.Order + "</a> </br>";
点击绑定不适用,因为在网站加载时绑定已经到位。我怎样才能做到这一点?期待着听到您的意见。