jQuery API | 返回首页目录 | jQuery API 中英文对照版 |
scrollLeft() |
scrollLeft()Returns how many pixels the user has scrolled to the right (scrollLeft). Works on containers with overflow: auto and window/document. 返回值Number 示例jQuery 代码:$("#testdiv").scrollLeft()结果:100 |