Skip to content

Instantly share code, notes, and snippets.

@feng-ming
Last active August 29, 2015 13:58
Show Gist options
  • Save feng-ming/10016285 to your computer and use it in GitHub Desktop.
Save feng-ming/10016285 to your computer and use it in GitHub Desktop.
Scroll to bottom of div
var objDiv = document.getElementById("div");
objDiv.scrollTop = objDiv.scrollHeight;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment