D
Daniel Rudy
What is the difference between these two code fragments?
This one does not work. The radio button with the checked attribute is
not checked at all.
<table>
<tbody>
<tr>
<td align="center"><input type="radio" name="pwdsel" value="never"
disabled></td>
<td nowrap>Never</td>
<td align="center"><input type="radio" name="pwdsel" value="nextlogin"
disabled></td>
<td nowrap>Next Login</td>
<td align="center"><input type="radio" name="pwdsel" value="normal"
disabled></td>
<td nowrap>Normal</td>
<td align="center"><input type="radio" name="pwdsel" value="date"
checked disabled></td>
<td nowrap>Date</td>
<td><image src="/images/balloon.png" border="0" width="25px"
height="25px" onmousedown="toolTip('Never - Password will never
expire.<br>Next Login - Password will expire on the next
login.<br>Normal - Password will expire after the system configured
duration.<br>Date - Password will expire after the specified
time/date.')" onmouseup="toolTip()" onmouseout="toolTip()"></td>
</tr>
<tr>
<td nowrap colspan="9">
Y:<input type="text" name="pyear" size="4" maxsize="4" value="2008"
disabled>
M:<input type="text" name="pmonth" size="2" maxsize="2" value="08"
disabled>
D:<input type="text" name="pday" size="2" maxsize="2" value="22"
disabled>
H:<input type="text" name="phour" size="2" maxsize="2" value="09"
disabled>
M:<input type="text" name="pmin" size="2" maxsize="2" value="45"
disabled>
<image src="/images/balloon.png" border="0" width="25px"
height="25px" onmousedown="toolTip('Y - Year<br>M - Month<br>D -
Day<br>H - Hour<br>M - Minute')" onmouseup="toolTip()"
onmouseout="toolTip()">
</td>
</tr>
</tbody>
</table>
This one does work. The radio button with the checked attribute does
show as checked.
<table>
<tbody>
<tr>
<td align="center"><input type="radio" name="pwdsel"
value="never"checked disabled></td>
<td nowrap>Never</td>
<td align="center"><input type="radio" name="pwdsel" value="nextlogin"
disabled></td>
<td nowrap>Next Login</td>
<td align="center"><input type="radio" name="pwdsel"
value="normal"disabled></td>
<td nowrap>Normal</td>
<td align="center"><input type="radio" name="pwdsel" value="date"
disabled></td>
<td nowrap>Date</td>
</tr>
<tr>
<td nowrap colspan="8">
Y:<input type="text" name="pyear" size="4" maxsize="4" disabled>
M:<input type="text" name="pmonth" size="2" maxsize="2" disabled>
D:<input type="text" name="pday" size="2" maxsize="2" disabled>
H:<input type="text" name="phour" size="2" maxsize="2" disabled>
M:<input type="text" name="pmin" size="2" maxsize="2" disabled></td>
</tr>
</tbody>
</table>
Any ideas as to what I am doing wrong? This fails in both IE 7 and
Seamonkey.
This one does not work. The radio button with the checked attribute is
not checked at all.
<table>
<tbody>
<tr>
<td align="center"><input type="radio" name="pwdsel" value="never"
disabled></td>
<td nowrap>Never</td>
<td align="center"><input type="radio" name="pwdsel" value="nextlogin"
disabled></td>
<td nowrap>Next Login</td>
<td align="center"><input type="radio" name="pwdsel" value="normal"
disabled></td>
<td nowrap>Normal</td>
<td align="center"><input type="radio" name="pwdsel" value="date"
checked disabled></td>
<td nowrap>Date</td>
<td><image src="/images/balloon.png" border="0" width="25px"
height="25px" onmousedown="toolTip('Never - Password will never
expire.<br>Next Login - Password will expire on the next
login.<br>Normal - Password will expire after the system configured
duration.<br>Date - Password will expire after the specified
time/date.')" onmouseup="toolTip()" onmouseout="toolTip()"></td>
</tr>
<tr>
<td nowrap colspan="9">
Y:<input type="text" name="pyear" size="4" maxsize="4" value="2008"
disabled>
M:<input type="text" name="pmonth" size="2" maxsize="2" value="08"
disabled>
D:<input type="text" name="pday" size="2" maxsize="2" value="22"
disabled>
H:<input type="text" name="phour" size="2" maxsize="2" value="09"
disabled>
M:<input type="text" name="pmin" size="2" maxsize="2" value="45"
disabled>
<image src="/images/balloon.png" border="0" width="25px"
height="25px" onmousedown="toolTip('Y - Year<br>M - Month<br>D -
Day<br>H - Hour<br>M - Minute')" onmouseup="toolTip()"
onmouseout="toolTip()">
</td>
</tr>
</tbody>
</table>
This one does work. The radio button with the checked attribute does
show as checked.
<table>
<tbody>
<tr>
<td align="center"><input type="radio" name="pwdsel"
value="never"checked disabled></td>
<td nowrap>Never</td>
<td align="center"><input type="radio" name="pwdsel" value="nextlogin"
disabled></td>
<td nowrap>Next Login</td>
<td align="center"><input type="radio" name="pwdsel"
value="normal"disabled></td>
<td nowrap>Normal</td>
<td align="center"><input type="radio" name="pwdsel" value="date"
disabled></td>
<td nowrap>Date</td>
</tr>
<tr>
<td nowrap colspan="8">
Y:<input type="text" name="pyear" size="4" maxsize="4" disabled>
M:<input type="text" name="pmonth" size="2" maxsize="2" disabled>
D:<input type="text" name="pday" size="2" maxsize="2" disabled>
H:<input type="text" name="phour" size="2" maxsize="2" disabled>
M:<input type="text" name="pmin" size="2" maxsize="2" disabled></td>
</tr>
</tbody>
</table>
Any ideas as to what I am doing wrong? This fails in both IE 7 and
Seamonkey.