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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Radio button checked attribute doesn't work

Status
Not open for further replies.

mdwyer

Programmer
Oct 9, 2003
389
US
I have this weird problem where a radio button with the 'checked' attribute does not show the button checked. Here's the code:

<td><input name=x type=radio value=0 checked>N
<input name=x type=radio value=1 >C
</td>

The output is:
( )N ( )C

when it should be:
(@)N ( )C

(loosely rendered :)


I included the <td> tags in case embedding the radio buttons inside a table sheds some light. Also, the table is being populated within a CSP loop through a user plugin collection.

Any ideas would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top