Skip to Content
Menu
This question has been flagged
1 Atsakyti
4550 Rodiniai

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 

Portretas
Atmesti
Autorius Best Answer

I solved it by

$(".o_content").scrollTop(300);
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 15
4972
0
kov. 15
5027
2
geg. 25
3753
0
rugs. 24
1137
0
birž. 24
1229