Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4531 Visualizações

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
Cancelar
Autor Melhor resposta

I solved it by

$(".o_content").scrollTop(300);
Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
mar. 15
4940
0
mar. 15
5019
2
mai. 25
3728
0
set. 24
1128
0
jun. 24
1222