$("body").on("click","span",{"key":"rmk"},function(e){ console.log(e.data.key); alert($(this).text()); })//事件委托