Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーが要素の一番下までスクロールしたタイミングを測定する方法はありますか? jQuery が要素の にアクセスできることは知っていますがscrollTop()、それを要素の高さと組み合わせても、要素が最下部の位置にスクロールされた時期を計算できません。これを行いたいので、テキストエリア内をスクロールするときに、テキストエリアの「スクロールボトム」に到達すると、ドキュメントの本文がスクロールするのを防ぐことができます。
scrollTop()
JSBIN