|
Source Code ![]() This will work for both checkboxes and radio buttons. You need to have a unique id for each radio button (or checkbox) but, as usual, have the same name for all radio buttons in the same group (in order to have only one selected at a time).
Here's a working example of how this works (click on the captions and the radio buttons and checkboxes will be selected):
You can also add a stylesheet in order to make the captions look clickable like links (thanks to Dave from MuffJam for this suggestion).
If you find this useful then all I ask is that you . |