Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4575 Переглядів

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 

Аватар
Відмінити
Автор Найкраща відповідь

I solved it by

$(".o_content").scrollTop(300);
Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
бер. 15
4994
0
бер. 15
5049
2
трав. 25
3816
0
вер. 24
1183
0
черв. 24
1241