Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer
Auteur Meilleure réponse

I solved it by

$(".o_content").scrollTop(300);
Avatar
Ignorer
Publications associées Réponses Vues Activité
0
mars 15
4996
0
mars 15
5053
2
mai 25
3832
0
sept. 24
1186
0
juin 24
1246