Id's must be unique and follow the pattern this works:
Code:
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
function check(elem) {
document.getElementById(elem.id + '1').disabled = !elem.selectedIndex;
}
</script>
</head>
<body>
<form>
<select id="mySelect" onChange="check(this);">
<option>Yes</option>
<option>No</option>
</select>
<select id="mySelect1" disabled="disabled" >
<option value=" "> </option>
<option value="Claim on hold">Claim on hold</option>
<option value="No reference available">No reference available</option>
<option value="Customer cancelled claim">Customer cancelled claim</option>
</select>
<select id="mySelect2" onChange="check(this);">
<option>Yes</option>
<option>No</option>
</select>
<select id="mySelect21" disabled="disabled" >
<option value=" "> </option>
<option value="Claim on hold">Claim on hold</option>
<option value="No reference available">No reference available</option>
<option value="Customer cancelled claim">Customer cancelled claim</option>
</select>
</form>
</body>
</html>
Bookmarks