Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

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 

Avatar
Buang
Penulis Jawaban Terbai

I solved it by

$(".o_content").scrollTop(300);
Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mar 15
4950
0
Mar 15
5020
2
Mei 25
3732
0
Sep 24
1130
0
Jun 24
1222