I've highlighted the ruby code by CodeRay and now I'd like to know on which line number user clicked. This line number should correspond to line nuber in source code. Which is the best way to do this?
以上就是Get line number in html by JavaScript的详细内容,更多请关注web前端其它相关文章!