Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="//code.jquery.com/jquery.min.js"></script>
<script src="//canjs.com/release/2.0.3/can.jquery.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
  
  <script type="text/mustache" id="number-select">
    <select name="{{id}}">
      {{#options}}
        <option value="{{value}}">{{text}}</option>
      {{/options}}
    </select>
  </script>
  
  <script type="text/mustache" id="template">
  <parent-scope>
    <number-select id="select-a" value="a" max="{{maxA}}"></number-select>
    <number-select id="select-b" value="b" max="{{maxB}}"></number-select>
    <button>Click</button>
  </parent-scope>
  </script>
</body>
</html>
Output 300px

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

Dismiss x
public
Bin info
JustinLovepro
0viewers