I'm using cefsharp to render html in C # I need a javascript function that scrolls the bar of a div. Here's how:
function Rolagem()
{
if(document.getElementById("rolagem").checked==true)
{
var el = document.getElementById("painel");
var y = el.scrollHeight;
$('#painel').scrollTop(y);
}
}
But you do not want to scroll the page, I know that the script works normally, but in cefsharp you do not want it, does anyone know what it can be?