Re: CGI checkbox labelling confuses javascript



Greg G wrote:
I'm using a bit of javascript code to get the object type of cells in a
table. However, because of the way CGI's checkbox function puts a
<label>...</label> block around the checkbox. This confuses javascript
which says that the type of object in that cell is unknown.
[...]

Hi Greg.

What's stopping you from writing the HTML code for the
checkbox directly?

.