1
我想提醒一条消息,当点击编号为tagit
的按钮时。但是整个表格都出现在bootstrap popover中。我还添加了jquery警报消息,但它没有显示任何警告对话框,但是当我在JavaScript中调用相同的东西时,它显示警报。但我需要它在jQuery中。我怎样才能做到这一点?jQuery的点击功能不工作的弹出式按钮里面
var htmlcont ='<table class="pop-table"><tr><td><button class="btn btn-warning" id="tagit">FILTER</button></td></tr></table>';
$('[data-toggle="popover"]').popover({content: htmlcont, html: true});
$("#tagit").click(function(){
alert("hello this is working");
});
使用代表团 –