Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>  
  <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>      
  <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
</head>
<body>
  if you delete reference to jquery-3.2.1 you'll get 3 1 2 
  in the #log instead of 1 2 3
  
  <div id='log'></div>
  <div id='scripts'></div>
</body>
</html>
 
$.get('...', function(){
$('#scripts')
  .append("hi<script>$(function(){$('#log').append('<p>3</p>');});</script>");
  $(function(){
  $('#log').append('<p>1</p>');
$('#log').append('<p>2</p>');
    });
  });
Output

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

Dismiss x
public
Bin info
omuleanupro
0viewers