<input type="radio" ondblclick="javascript:uncheckRadio(this);" name="<
%=variable%>" value="1" >
<input type="radio" ondblclick="javascript:uncheckRadio(this);" name="<
%=variable%>" value="2" >


name is any number of radio groups contained in form named
"editResource". Number of radio buttons per group is 2 or 3 per group.
Number of groups depends on what results are returned from the
database.


On Jan 8, 7:13 am, MorningZ <morni...@gmail.com> wrote:
> What's the HTML look like?
>
> On Jan 8, 5:57 am, jq noob <sammil...@alliancecom.net> wrote:
>
>
>
> > Sorry this might be really simple but there is a reason my nickname is
> > jq noob! I was wondering how to convert this JS function into proper
> > Jquery code.
>
> > function uncheckRadio(obj) {
> >         var choice = eval("document.editResource." + obj.name);
> >         for (i = 0; i < choice.length; i++)
> >         {
> >                 choice[i].checked = false;
> >         }
>
> > }- Hide quoted text -
>
> - Show quoted text -

Reply via email to