Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Radio button issue with NS 6.2

Status
Not open for further replies.

vinayak

Technical User
Sep 17, 2001
50
IN
Hi,
I have the following code in JSP (I have cleaned it up so that it looks like HTML) which, when opened in NS 6.2 browser, radio buttons do not function at ALL! on clicking on the radio button, browser selects the text instead of selecting the radio button. Is there any issue with a radio button placed inside the groupbox?

Please help.


<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>

<body bgcolor=&quot;#FFFFFF&quot;>
<table width=&quot;40%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;1&quot; align=&quot;left&quot;>
<tr height=1 >
<td width=&quot;1&quot;></td>
<td></td>
<td width=&quot;1&quot;></td>
</tr>
<tr>
<td width=&quot;1&quot;></td>
<td><fieldset ><legend >Postings </legend>
<table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;1&quot;>
<tr>
<td class=&quot;tablecontents&quot; width=&quot;5%&quot; height=&quot;40&quot;>
<div align=&quot;right&quot;>
<input type=&quot;radio&quot; name=&quot;radiobutton&quot; value=&quot;radiobutton&quot; tabindex=&quot;18&quot;>
</div>
</td>
<td class=&quot;RadioButton&quot; width=&quot;95%&quot; height=&quot;40&quot;>Internal Posting Only</td>
</tr>
<tr>
<td class=&quot;tablecontents&quot; width=&quot;5%&quot; height=&quot;40&quot;>
<div align=&quot;right&quot;>
<input type=&quot;radio&quot; name=&quot;radiobutton&quot; value=&quot;radiobutton&quot; tabindex=&quot;20&quot;>
</div>
</td>
<td class=&quot;RadioButton&quot; width=&quot;95%&quot; height=&quot;40&quot;>Internal and External
Posting 1</td>
</tr>
</table>
</fieldset></td>
<td width=&quot;1&quot;></td>
</tr>
<tr height=1 >
<td width=&quot;1&quot;></td>
<td></td>
<td width=&quot;1&quot;></td>
</tr>
</table>

</body>
</html>
 
It should be a problem with your browser. I checked your code in N6.2 and Mozilla 1.1 - it works, radios are selected.
 
My problem is that,
when I select one the two complementing radio buttons, the other radio button is not deselected (the change is not visible on the screen).
<HTML>
<HEAD>
<TITLE>Untitled Document</TITLE>
<META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=iso-8859-1&quot;>
</HEAD>
<TABLE WIDTH=&quot;100%&quot; BORDER=&quot;1&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot; BORDERCOLOR=&quot;#FFCCCC&quot;>
<TR>
<TD>
<TABLE WIDTH=&quot;90%&quot; BORDER=&quot;1&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot; BORDERCOLOR=&quot;#FF9999&quot;>
<TR>
<TD>
<TABLE WIDTH=&quot;90%&quot; BORDER=&quot;1&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot; BORDERCOLOR=&quot;#FF6699&quot;>
<TR>
<TD>
<TABLE WIDTH=&quot;90%&quot; BORDER=&quot;1&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot; BORDERCOLOR=&quot;#FF6699&quot;>
<TR>
<TD>
<TABLE WIDTH=&quot;90%&quot; BORDER=&quot;1&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot; BORDERCOLOR=&quot;#FF3399&quot;>
<TR>
<TD>
<TABLE WIDTH=&quot;90%&quot; BORDER=&quot;1&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot; BORDERCOLOR=&quot;#FF3399&quot;>
<TR>
<TD>
<TABLE WIDTH=&quot;90%&quot; BORDER=&quot;1&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot; BORDERCOLOR=&quot;#FF0099&quot;>
<TR>
<TD>
<TABLE WIDTH=&quot;90%&quot; BORDER=&quot;1&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot; BORDERCOLOR=&quot;#CC0099&quot;>
<TR>
<TD>
<TABLE WIDTH=&quot;90%&quot; BORDER=&quot;1&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot; BORDERCOLOR=&quot;#990099&quot;>
<TR>
<TD>
<TABLE WIDTH=&quot;90%&quot; BORDER=&quot;1&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot; BORDERCOLOR=&quot;#660066&quot;>
<TR>
<TD>
<TABLE WIDTH=&quot;40%&quot; BORDER=&quot;0&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;1&quot; ALIGN=&quot;CENTER&quot;>
<TR HEIGHT=1 >
<TD WIDTH=&quot;1&quot;></TD>
<TD></TD>
<TD WIDTH=&quot;1&quot;></TD>
</TR>
<TR>
<TD WIDTH=&quot;1&quot;></TD>
<TD><FIELDSET CLASS=&quot;GroupBox&quot; ><LEGEND CLASS=&quot;GroupHeader&quot;>Postings
</LEGEND>
<TABLE WIDTH=&quot;100%&quot; BORDER=&quot;0&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;1&quot;>
<TR>
<TD CLASS=&quot;tablecontents&quot; WIDTH=&quot;5%&quot; HEIGHT=&quot;40&quot;>
<DIV ALIGN=&quot;right&quot;>
<INPUT TYPE=&quot;radio&quot; NAME=&quot;PostingType&quot; VALUE=&quot;0&quot; >
</DIV>
</TD>
<TD CLASS=&quot;RadioButton&quot; WIDTH=&quot;95%&quot; HEIGHT=&quot;40&quot;>Radio
1-a </TD>
</TR>
<TR>
<TD CLASS=&quot;tablecontents&quot; WIDTH=&quot;5%&quot; HEIGHT=&quot;40&quot;>
<DIV ALIGN=&quot;right&quot;>
<INPUT TYPE=&quot;radio&quot; NAME=&quot;PostingType&quot; VALUE=&quot;1&quot; CHECKED >
</DIV>
</TD>
<TD CLASS=&quot;RadioButton&quot; WIDTH=&quot;95%&quot; HEIGHT=&quot;40&quot;>Radio
1-b </TD>
</TR>
<TR>
<TD CLASS=&quot;tablecontents&quot; WIDTH=&quot;5%&quot; HEIGHT=&quot;40&quot;>
<TABLE WIDTH=&quot;100%&quot; BORDER=&quot;0&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot;>
<TR>
<TD WIDTH=&quot;29%&quot;>
<DIV ALIGN=&quot;right&quot;>
<INPUT TYPE=&quot;radio&quot; NAME=&quot;radiobutton&quot; VALUE=&quot;radiobutton&quot; ID=&quot;focus&quot; TABINDEX=&quot;2&quot; checked >
</DIV>
</TD>
<TD CLASS=&quot;label&quot; WIDTH=&quot;68%&quot;>
<DIV ALIGN=&quot;left&quot;>Radoio
2-a
</DIV>
</TD>
</TR>
</TABLE>
</TD>
<TD CLASS=&quot;RadioButton&quot; WIDTH=&quot;95%&quot; HEIGHT=&quot;40&quot;>
<TABLE WIDTH=&quot;100%&quot; BORDER=&quot;0&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot;>
<TR>
<TD WIDTH=&quot;1%&quot;>
<DIV ALIGN=&quot;right&quot;>
<INPUT TYPE=&quot;radio&quot; NAME=&quot;radiobutton&quot; VALUE=&quot;radiobutton&quot; TABINDEX=&quot;3&quot; >
</DIV>
</TD>
<TD CLASS=&quot;label&quot; WIDTH=&quot;99%&quot;>
<DIV ALIGN=&quot;left&quot;>Radoio
2-b</DIV>
</TD>
</TR>
</TABLE>
<DIV ALIGN=&quot;LEFT&quot;></DIV>
</TD>
</TR>
</TABLE>
</FIELDSET></TD>
<TD WIDTH=&quot;1&quot;></TD>
</TR>
<TR HEIGHT=1 >
<TD WIDTH=&quot;1&quot;></TD>
<TD></TD>
<TD WIDTH=&quot;1&quot;></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>

</BODY>
</HTML>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top