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
4774 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
5320
0
bře 15
5428
2
kvě 25
5010
0
zář 24
1577
0
čvn 24
1561