javascript scrollby div

function scrollDiv(){
    document.getElementById("d").scrollTop += 100;
    document.getElementById("d").scrollLeft += 100;
}
Guadalupe Valenzuela Soto