2015-12-21 32 views

回答

0

难道它使用jQuery

var newAddedComment = $('#'+location.hash.substr(2)); 
scrollTop: newAddedComment.offset()