Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4529 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

I solved it by

$(".o_content").scrollTop(300);
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 15
4938
0
bře 15
5018
2
kvě 25
3723
0
zář 24
1128
0
čvn 24
1221