Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <select id = "miCombo">
    <option value = 4000>4000</option>  
    <option value = 5000>5000</option>
    <option value = 3000>3000</option>
  </select>
  <input type = "radio" class = "especial" /> Radio
  Input
  <input type = "text" class = "especial" />
  <script type = "text/javascript" src = "http://code.jquery.com/jquery-1.10.2.js"></script>
</body>
</html>
 
$("#miCombo").change(function(){
    var valor = this.value;
    if (valor < 5000)
        $(".especial").prop("disabled", "disabled");
    else
        $(".especial").prop("disabled", "");
});
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers