jQuery API | 返回首页目录 | jQuery API 中英文对照版 |
innerWidth() |
innerWidth()Returns the inner width value (without border) for the first matched element. If used on document, returns the document's Width (innerWidth) If used on window, returns the viewport's (window) width 返回值Number 示例jQuery 代码:$("#testdiv").innerWidth()结果:1000 |