Ian Skinner wrote:
> Is it known that IE does not respond to the onClick action on the option tag?
> 
> Any suggestion for a work around if true?

You mean for a <select> option?  Yeah that doesn't surprise me, I've 
never even tried to use it.

Instead, you want to use the select list itself.

<script language="javascript">
function changeEvent(obj)
{
        alert(obj[obj.selectedIndex].value);
}
</script>
<select name="foo" id="foo" size="1" onChange="changeEvent(this)">
<option value="1">1</option>
<option value="2">2</option>
</select>

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244262
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to