div模拟滚动条,table内部,搜索定位
$("input").on("keyup",function (argument) {
var val = $(this).val();
var selector = "#thetable td:contains('"+val+"'):first";
console.log( selector );
var index = $(selector).parents('tr').index();
console.log( index );
var top = index * 40; //索引*行高
console.log( top );
$('.jqstb-scroll').scrollTop( top );
})