コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4595 ビュー

Hi Odooers, I am trying to add a goto top button on Form View, 

alert($(".myclass").scrollTop());

Every Time i get 0 in return. It is not getting the position of vertical scroll. checked on different divs.

here is the screenshot https://prnt.sc/r02oev 

アバター
破棄
著作者 最善の回答

I solved it by

$(".o_content").scrollTop(300);
アバター
破棄
関連投稿 返信 ビュー 活動
0
3月 15
5034
0
3月 15
5136
2
5月 25
3927
0
9月 24
1254
0
6月 24
1308