$('#mainContent tbody').on('click','tr', function (e) { var name = $(this).text() alert("点击了"+name) } );