Skip to Content
Menú
This question has been flagged
1 Respondre
4592 Vistes

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
Descartar
Autor Best Answer

I solved it by

$(".o_content").scrollTop(300);
Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de març 15
5023
0
de març 15
5111
2
de maig 25
3918
0
de set. 24
1248
0
de juny 24
1296