Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4537 Visualizzazioni

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
Abbandona
Autore Risposta migliore

I solved it by

$(".o_content").scrollTop(300);
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 15
4955
0
mar 15
5021
2
mag 25
3742
0
set 24
1130
0
giu 24
1222