function ScrollUp() { document.getElementById('frameDiv').scrollTop +=30; return false; } function ScrollTop() { document.getElementById('frameDiv').scrollTop = 0; } function ScrollDown() { document.getElementById('frameDiv').scrollTop -= 30; return false; }
<div id="divId" style="overflow-y: scroll">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)