Hi
The code below is very simple but it doesn't seem to work correctly in IE6 on my pc (xp sp2). The alerts are blank in IE, all three of them. It works find in FF2 and opera9.5 alpha showing the three select options.
Does it work for you?, what am I doing wrong?
Regards
Wayne
[HTML]<html>
<head><title>test</title>
<script>
function show_sell(){
var elem = document.getElementById("sell");
for(var i = 0; i < elem.length; i++){
alert(elem.options[i].value);
}
}
</script>
<body>
<select id='sell'>
<option>one
<option>two
<option>three
</select>
<input type=button value='click' onclick="show_sell()">
</body>
</html>[/HTML]