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

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
4970
0
3月 15
5024
2
5月 25
3751
0
9月 24
1135
0
6月 24
1227