You should take a look at the Element Selectors (http://mootools.net/
docs/Utilities/Selectors). You can use them to specify a name, etc.
You could also use .get('value') or .get('name').

On Oct 23, 5:16 am, "g.smillie1" <[EMAIL PROTECTED]> wrote:
> Hi there,
> I have a bit of software my company use which outputs online surveys
> etc. The software is purchased from a supplier and I have already
> checked that I can't get it to output any different HTML.
>
> I want to create an online survey with radio buttons which ask how
> strong you agree/disagree with statements. There are radio buttons
> from 1 - 5 depending on how you agree with the statement. The HTML the
> software outputs is shown below:
>
> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="1" WIDTH="100%"
> CLASS="rsfieldcontrol">
> <TR>
> <TD WIDTH="20%" >
> <INPUT TYPE=RADIO TABINDEX='10' NAME="TEST" VALUE="1" >1
> </TD>
> <TD WIDTH="20%" >
> <INPUT TYPE=RADIO TABINDEX='10' NAME="TEST" VALUE="2" >2
> </TD>
> <TD WIDTH="20%" >
> <INPUT TYPE=RADIO TABINDEX='10' NAME="TEST" VALUE="3" >3
> </TD>
> <TD WIDTH="20%" >
> <INPUT TYPE=RADIO TABINDEX='10' NAME="TEST" VALUE="4" >4
> </TD>
> <TD WIDTH="20%" >
> <INPUT TYPE=RADIO TABINDEX='10' NAME="TEST" VALUE="5" >5
> </TD>
> </TR>
> </TABLE>
>
> My question is, how do I target the individual bullet points using
> mootools? I got this working using demo code but it was targetting the
> ID of each radio. I can't get the software to output an ID attribute
> so am stumped as to what I can do.
>
> Any help would be massively appreciated.
> Graeme

Reply via email to