is this an IE6 bug???

Joe Mamma

Senior Contributor
Joined
Mar 1, 2004
Messages
1,062
Location
Washington DC
put this in a simple htm page

<DIV ID=thisdiv>
<BUTTON onclick=alert("Clicked1")>click me 1</BUTTON>
<BR>
<BUTTON onclick=alert("Clicked2")>click me 2</BUTTON>
</DIV>
<BR>
<BUTTON onclick=document.all.thisdiv.disabled=true>disable me</BUTTON>


Click on the bottom button. the DIV is disabled making the buttons 1&2 appear disabled, but you can still click on the buttons.

Does this happen in NS or any other browsers? or does disabling the wrapping div also disable the buttons, too?
 
Back
Top