not sure if there is a plug-in but you can easily achieve this as follows <script type="text/javascript" language="javascript"> jQuery(function($) { $('input:checkbox').each(function() { var chk = $(this); var chkName = chk.attr("name"); chk.replaceWith("<input type='radio' name='" + chkName + "' value='on'/>Yes <input type='radio' name='" + chkName + "' value='off'/>No <br/>"); }); }); </script>
<body> <input id="Checkbox1" type="checkbox" name="foo1" value="on" /> <input id="Checkbox2" type="checkbox" name="foo2" value="on" /> <input id="Checkbox3" type="checkbox" name="foo3" value="on" /> </body> On Dec 3, 3:04 pm, Oskar Austegard <[EMAIL PROTECTED]> wrote: > Anyone aware of a plugin that allows you to selectively replace > checkboxes with yes/no radiobuttons? > > i.e. I'd want this: > > <input type="checkbox" name="foo" value="on"> > > converted to something like this: > > <input type="radio" name="foo" value="on" />Yes <input type="radio" > name="foo" value="off" />No