f



Radio button doesn't work???

I'm not sure, but I believe this could be an HTML/JavaScript issue...

I have tried putting in a radio button group with the following code:

<input type="radio" name="hi">hi <br>
<input type="radio" name="hi">bye

for some reason, it does not work on netscape!! IE works great, but
netscape (4, 6 & 7) will NOT uncheck one box when the other is
selected!!

Why is this?

The page is a php page, that has another php page included in it with
the above text... I do not believe that the way the files are
structured with php has anything to do with it, since the source on
the page comes out fine. (SEE BELOW)

Can anyone help??
--------------------------------------------------------------------------
<html>
<head>
<title>Welcome!</title>

					<link rel='stylesheet' href='cme.css' type='text/css'>
<script language="JavaScript" src="./scripts.js"></script>
</head>
<body bgcolor="#FFFFFF" text="#000000" MARGINWIDTH=0 MARGINHEIGHT=10>
<p class="text" align="left"><a href="index.htm"><img border="0"
src="hhhhhh.jpg" width="50" height="60"><img border="0"
src="kkkkkkk.jpg" width="640" height="60"></a></p>
<table width="686" cellpadding="0" cellspacing="0">
	<tr>
		<td width="3" height="16"></td>
		<td width="85" height="16" background="mailtab.png"
align="center"><A href="./welcome.php" class="tabsw">Start
Here</A></td>
		<td width="85" height="16" background="mailtab.png"
align="center"><A href="./envelope.php"
class="tabsy">Envelopes</A></td>
		<td width="85" height="16" background="mailtab.png"
align="center"><A href="./reply.php" class="tabsg">Reply Env</A></td>
		<td width="85" height="16" background="mailtab.png"
align="center"><A href="./inserts.php" class="tabsg">Inserts</A></td>
		<td width="85" height="16" background="mailtab.png"
align="center"><A href="./colour.php" class="tabsg">Colour</A></td>
		<td width="85" height="16" background="mailtab.png"
align="center"><A href="./specifics.php" class="tabsg">Order
Specifics</A></td>
		<td width="85" height="16" background="mailtab.png"
align="center"><A href="./contact.php" class="tabsg">Contact
Info</A></td>
		<td width="85" height="16" background="mailtab.png"
align="center"><A href="./verify.php"
class="tabsg">Quote/Verify</A></td>
		<td width="3"></td>
	</tr>
	<tr><!-- selected = 00579d -->
		<td width="3" height="3" bgcolor="#FF0000"></td>
		<td width="85" height="3" bgcolor="#FF0000"></td>
		<td width="85" height="3" bgcolor="#00579D"></td>
		<td width="85" height="3" bgcolor="#FF0000"></td>
		<td width="85" height="3" bgcolor="#FF0000"></td>
		<td width="85" height="3" bgcolor="#FF0000"></td>
		<td width="85" height="3" bgcolor="#FF0000"></td>
		<td width="85" height="3" bgcolor="#FF0000"></td>
		<td width="85" height="3" bgcolor="#FF0000"></td>
		<td width="3" height="3" bgcolor="#FF0000"></td>
	</tr>
	<tr>
		<td width="3" bgcolor="#FF0000" height="500"></td>		
		<td colspan="8" width="680" valign="middle" align="center"><br>

					<table height="95%" width="95%" border="0">
	<tr>
		<td valign="top">
			<table>
				<tr>
					<td class="contenttext" width="300" valign="top">
						Will we be providing the envelopes?
					</td>
					<td width="30">&nbsp;</td>
					<td width="75">
						<input type="radio" name="provide_env" value="Y"
onClick="MM_showHideLayers('providing_env','','show');"><A
class="contenttext">Yes</A>
					</td>
					<td width="75">
						<input type="radio" name="provide_env" value="N"
onClick="MM_showHideLayers('providing_env','','hide');"><A
class="contenttext">No</A>
					</td>
				</tr>
				<tr><td colspan="4">&nbsp;</td></tr>
			</table>
		<div id="providing_env" style="position: absolute; left: 35; top:
180; width: 600; height: 250; z-index: 13; visibility: hidden">
			<table>
				<tr>
					<td class="contenttext">Please specify the size of the outgoing
envelopes: </td>
					<td width="30">&nbsp;</td>
					<td colspan="2" width="150">
						<select name="out_env_size">
							<option value="none">Please select a size</option>
							<option value="9">9" x 4" (#9)</option>
							<option value="10">9 1/2" x 4 1/2" (#10)</option>
							<option value="2">5 7/8" x 9" (#2)</option>
							<option value="4">5 3/4" x 9 1/2" (#4)</option>
							<option value="7">9" x 12" (#7)</option>
							<option value="1013">10" x 13" (10x13)</option>
						</select>
					</td>
				</tr>
				<tr><td colspan="4">&nbsp;</td></tr>
				<tr></tr>
					<td class="contenttext">
						Will we need to add your logo to the envelopes?
					</td>
					<td>&nbsp;</td>
					
					<td>
						<input type="radio" name="env_logo" value="Yes"><A
class="contenttext">Yes</A>
					</td>
					<td class="contenttext">
						<input type="radio" name="env_logo" value="No" checked><A
class="contenttext">No</A>
					</td>
					
				</tr>
			</table>
		</div>			
		
			<P class="contenttext">&nbsp; </P>

		</td>
	</tr>
</table>
							</td>
		<td width="3" bgcolor="#FF0000"></td>
	</tr>
	<tr>
		<td width="686" height="3" colspan="10" bgcolor="#FF0000"></td>
	</tr>
</table>
</body>
</html>
0
6/26/2003 8:27:59 PM
comp.lang.javascript 38370 articles. 2 followers. javascript4 (1315) is leader. Post Follow

0 Replies
836 Views

Similar Articles

[PageSpeed] 29

Reply: