Skip to Content
Menu
Dette spørgsmål er blevet anmeldt

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
Kassér
Forfatter Bedste svar

I solved it by

$(".o_content").scrollTop(300);
Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
mar. 15
4959
0
mar. 15
5022
2
maj 25
3745
0
sep. 24
1131
0
jun. 24
1224