Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
<script>
  $(function(){
    var top;
    $('#save').click(function(){
      top = $('#container').scrollTop();
    });
    
    $('#load').click(function(){
      if(top !== undefined){
        $('#container').scrollTop(top);
      }
    });
  });
</script>
</head>
<body>
  <div id="container">
    <ol>
      <li></li>
      <li></li>
      <li></li>
      <li></li>
      <li></li>
      <li></li>
      <li></li>
      <li></li>
      <li></li>
    </ol>
  </div>
  <button id="save">Save</button>
  <button id="load">Load</button>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers