Answers for "scrolling for chatbot"

1

scrolling for chatbot

var pageHeight = $('#dialog').height();
/*Now at the time of insertion of element*/
pageHeight = pageHeight + 100;
$('#dialog').scrollTop(pageHeight);
Posted by: Guest on September-23-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language