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.

Revisions

  1. feng-ming renamed this gist Apr 7, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. feng-ming created this gist Apr 7, 2014.
    2 changes: 2 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    var objDiv = document.getElementById("div");
    objDiv.scrollTop = objDiv.scrollHeight;