Hello.
I'm struggling with a simple zIndex problem. I have a form in my ASP that has two radio buttons shown below. There are two <div>'s as well. When I click one of the radio buttons, I need one of the two Div's to show - the radio's toggle between the two div's. Right now, with the sample below, nothing happens. Can somebody tell me what I'm doing wrong?
This is ASP/HTML that runs only in IE 5 or higher browsers.
Thank you!
<div id='inputTableCoil' style="position: absolute; left: 310px ; top: 170px; z-index: 0">
<div id='inputTableFinished' style="position: absolute; left: 310px ; top: 170px; z-index: 1">
<input type='radio' name='LabelType' value='Coil' onclick="inputTableCoil.style.zIndex=1; inputTableFinished.style.zIndex=0">
<input type='radio' name='LabelType' value='Finished' onclick="inputTableCoil.style.zIndex=0; inputTableFinished.style.zIndex=1">
I'm struggling with a simple zIndex problem. I have a form in my ASP that has two radio buttons shown below. There are two <div>'s as well. When I click one of the radio buttons, I need one of the two Div's to show - the radio's toggle between the two div's. Right now, with the sample below, nothing happens. Can somebody tell me what I'm doing wrong?
This is ASP/HTML that runs only in IE 5 or higher browsers.
Thank you!
<div id='inputTableCoil' style="position: absolute; left: 310px ; top: 170px; z-index: 0">
<div id='inputTableFinished' style="position: absolute; left: 310px ; top: 170px; z-index: 1">
<input type='radio' name='LabelType' value='Coil' onclick="inputTableCoil.style.zIndex=1; inputTableFinished.style.zIndex=0">
<input type='radio' name='LabelType' value='Finished' onclick="inputTableCoil.style.zIndex=0; inputTableFinished.style.zIndex=1">