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 text='clickCount'></span> time<span
        show="clickCount|>1">s</span></div>
    <button ++='clickCount' disable='overClicked'>Click me</button>
    <div show="overClicked">
        That's too many clicks! Please stop before you wear out your fingers.
        <button 0="clickCount">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
anonymouspro
0viewers