Forum Moderators: open

Message Too Old, No Replies

Checkbox not working in Netscape 4 - Solaris or Windows

         

seshu

8:41 pm on Feb 20, 2003 (gmt 0)

10+ Year Member



My webpage displays a list of checkboxes (both Selectable and Unselectable).

It is working fine with IE. But in Netscape4.7(both in Solaris and Windows), even the Unselectable checkboxes are also being selected.

Please help me.
Seshu

tedster

9:37 pm on Feb 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



seshu,

Welcome to the forums.

First thing I'd suggest is use the W3C Validator [validator.w3.org] and make sure your HTML is 100% valid.

If that doesn't resolve the problem, then you could post some simplified code from one or two of the checkboxes - just be sure to remove any direct references to your site. We'll have a look and figure this out, I'm sure. Checkboxes have had wide cross-browser and cross-platform support for many years.

seshu

7:41 pm on Feb 21, 2003 (gmt 0)

10+ Year Member



Hi Tedster,

Actually, I am developing my webpage in JSP. The W3c validator is giving the following error:
"I was not able to extract a character encoding labeling from any of the valid sources for such information. Without encoding information it is impossible to validate the document".

Here's the code:

if(isMail == true)
{
%>
<TD bgcolor="F4F8FF" align="center" width="85" >
<input type="checkbox" name="ch1" value="<%=name%>¦<%=email%>¦<%=compId%>">
</TD>
<%
}
else
{

%>
<TD width="85" bgcolor="F4F8FF" align="center">
<input type="checkbox" name="ch1" disabled>
</TD>
<%
}

thank you,
Seshu

g1smd

10:23 pm on Feb 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Make sure your page begins something like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> Title </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Description" content=" blah ">
<meta name="Keywords" content=" blah ">
<link REL="SHORTCUT ICON" HREF="/favicon.ico">
...

This includes an HTML !DOCTYPE and a character encoding declaration.