Problems with Explorer (javascript)

Hello sir

This blow code working properly Firefox and chrome but not working internet explorer

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <script type="text/javascript">
		
		function callSave(select) {
    var parent = select.parentNode;
    
    var usedValues = {};
    
    for (var i = 0; i < parent.children.length; ++i) {
        if (parent.children[i].value != '') {
            usedValues[ parent.children[i].value ] = parent.children[i];
        }
    }
    
    for (var i = 0; i < parent.children.length; ++i) {
        var s = parent.children[i];
        
        for (var j = 0; j < s.children.length; ++j) {
            var o = s.children[j];
            
            var p = o.value == '' ? undefined : usedValues[o.value];
            
            if (p == undefined || p == s) {
                o.style.display = 'block';
            }
            else {
                o.style.display = 'none';
            }
        }
    }
}
  </script>
</head>

<body><form id="form1" name="form1" action="" method="post">
<select onChange="callSave(this)" id="fir" name="fir">
<option selected="selected"></option>
<option value="SEP 21,2013">SEP 21,2013 (First Batch)</option>
<option value="SEP 25,2013">NOV 04,2013 (Second Batch)</option>
<option value="NOV 04,2013">NOV 25,2013 (Third Batch)</option>
</select>
                                      
                                           
<select onChange="callSave(this)" id="sec" name="sec">
<option selected="selected"></option>
<option value="SEP 21,2013">SEP 21,2013 (First Batch)</option>
<option value="SEP 25,2013">NOV 04,2013 (Second Batch)</option>
<option value="NOV 04,2013">NOV 25,2013 (Third Batch)</option>
</select>

<select onChange="callSave(this)" id="thi" name="thi">
<option selected="selected"></option>
<option value="SEP 21,2013">SEP 21,2013 (First Batch)</option>
<option value="SEP 25,2013">NOV 04,2013 (Second Batch)</option>
<option value="NOV 04,2013">NOV 25,2013 (Third Batch)</option>
</select>                                       
                                   
</form>
</body>
</html>

maybe this will help…LINK:slight_smile: