我将电子表格数据解析为表格。是否可以在悬停时让jquery工具提示显示来自另一个单元格的数据?
答案 0 :(得分:0)
你可以这样做:
git rev-list HEAD...origin/master --count will give you the total number of "different" commits between the two. – Jake Berger Feb 5 '13 at 19:23
$( function() {
$( 'td' ).on( 'mouseover', function() {
$( this ).attr( 'title', $( this ).next().text() || $( this ).text() )
} )
$( document ).tooltip();
} );
table {
border-collapse: collapse;
width: 100%
}
td, th {
border: 1px solid #ddd;
text-align: left;
padding: 8px
}
tr:nth-child(even) {
background-color: #ddd
}