跳至内容
菜单
此问题已终结

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);
形象
丢弃
相关帖文 回复 查看 活动
0
3月 15
4980
0
3月 15
5034
2
5月 25
3773
0
9月 24
1166
0
6月 24
1232