S
Shailesh Humbad
I can use a label tag on radio buttons like this:
<input type="radio" name="animal" id="animal1">
<label for="animal1">Giraffe</label>
<input type="radio" name="animal" id="animal2">
<label for="animal2">Antelope</label>
My question is, are there any browser compatibility issues with using
a different name and id in the same form element? Will all the
browsers that support this feature submit the form correctly using the
"name" attribute as the real name of the submitted radio field.
<input type="radio" name="animal" id="animal1">
<label for="animal1">Giraffe</label>
<input type="radio" name="animal" id="animal2">
<label for="animal2">Antelope</label>
My question is, are there any browser compatibility issues with using
a different name and id in the same form element? Will all the
browsers that support this feature submit the form correctly using the
"name" attribute as the real name of the submitted radio field.