代码 如何在ajax生成的html标记上触发click触发器
正在运作
$(document).on("click","#Copyright #disclaimer_btn_trg",function(e){
alert($( "#DesclaimerButton span" ).html());
});
不工作
$(document).on("click","#Copyright #disclaimer_btn_trg",function(e){
//alert($( "#DesclaimerButton span" ).html());
$( "#DesclaimerButton span" ).trigger( "click" );
});