problems with scroll javascript in cefsharp

0

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?

    
asked by anonymous 11.06.2018 / 04:31

0 answers