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>
<script src="http://code.semanticsworks.com/assets/js/hm.js"></script>
<meta charset=utf-8 />
  
<title>JS Bin</title>
</head>
<body>
<div ns="clickApp">
<div>You've clicked <span id="lblCount"></span> time
  <span id="lblPlural">s</span></div>
 <button id="btnClick" >Click me</button>
 <div id="divWarning">
  That's too many clicks! Please stop before you wear out your fingers.
  <button id="btnReset">Reset clicks</button>
 </div>
  
  <h3>debugging info</h2>
  <div dump="clickCount"></div>
  <div dump="overClicked"></div>
  <div dump="plural"></div>
  
</div>
</body>
  
</html>
Output

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

Dismiss x
public
Bin info
fredyangpro
0viewers