Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4563 มุมมอง

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
4980
0
มี.ค. 15
5035
2
พ.ค. 25
3774
0
ก.ย. 24
1166
0
มิ.ย. 24
1234