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-2.0.3.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  
  only the one with the red border is enabled.
  
  <input type="image" value="google" name="img" src="http://www.google.com/intl/en_ALL/images/logo.gif" />
  
  <input id="goog" type="image" value="google" name="img" src="http://www.google.com/intl/en_ALL/images/logo.gif" />
  
    <input type="image" value="google" name="img" src="http://www.google.com/intl/en_ALL/images/logo.gif" />
  
</body>
</html>
 
$(':image:not([id])').prop("disabled",true);
// comment the above like and click on image to see the difference
Output

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

Dismiss x
public
Bin info
roXonpro
0viewers