Bölme kullanımı css taşmasının scrollHeight'ını nasıl belirlerim: auto?scrollHeight'ı nasıl belirlerim?
denedim:
$('test').scrollHeight();
$('test').height(); but that just returns the size of the div not all the content
Sonuçta, ben bir sohbet oluşturmak çalışıyorum ve her zaman ekranda geçerli iletiye kaydırma çubuğunu var.
Yani aşağıdaki gibi bir şey düşünüyordum:var test = $('test').height();
$('test').scrollTop(test);
Teşekkür ederim,
Brian jQuery gerekmez
scrollHeight() kullanılarak sorun nedir? –
@BadrHari: jQuery'de 'scrollHeight()' işlevi yoktur. –
$ ('test'). Olsun (0) .scrollHeight(); – JFouad