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-git.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <iframe class="ifr" src="about:blank"></iframe>
  <hr/>
  <input  type="button" value='set src to Jabbr.net' class='btn'/>
  <hr/>
  <input  type="button" value='set src to picture download' class='btn2'/> <--problematic
</body>
</html>
 
$(".ifr").on('load',function (){
 alert("iframe loaded")
});
$(".btn").on('click',function (){
  $(".ifr").prop('src','http://jabbr.net');
});
$(".btn2").on('click',function (){
  $(".ifr").prop('src','http://selfservice.davidshield.com/exampales/eeeee.aspx');
});
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers