Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
<div id="button">
      <button id="show_link_group">Show Links</button>
      <button id="show_contact_group">Show Contacts</button>
      <button id="show_update_group">Show Updates</button>
      <button id="show_activity_group">Show Action Items</button>
  </div>
</body>
</html>
 
button {
  display: block;
  margin-bottom: 10px;
}
 
var content = $("<div><p>Content</p></div>");
// $('#show_link_group').click(function() {
//   $("#button").after(content);
// });
$('#show_link_group').click(function() {
  $(content).insertAfter('#button');
});
Output

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

Dismiss x
public
Bin info
ryentzerpro
0viewers