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
4640 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
5122
0
bře 15
5242
2
kvě 25
4297
0
zář 24
1360
0
čvn 24
1387