Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script>
  // Here I'll use the ready event
  jQuery(function($) {
    $("body").click(function() {
      $("<p>First script sees jQuery v" + $.fn.jquery + "</p>").appendTo(document.body);
    });
  });
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>
  // Here I'll use the ready event
  jQuery(function($) {
    $("body").click(function() {
      $("<p>Second script sees jQuery v" + $.fn.jquery + "</p>").appendTo(document.body);
    });
  });
</script>
<meta charset=utf-8 />
<title>Test Page</title>
<style>
  body {
    font-family: sans-serif;
  }
</style>
</head>
<body>
  <p>Click anywhere on the page</p>
</body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers