the function loadinfo is probably referencing the select value through
options whereas if you change the code to radios the syntax for
getting the value will be different.

do u have access to loadinfo function? how is it getting the value?
G

On 7/12/05, Chad Renando <[EMAIL PROTECTED]> wrote:
> Nope, didn't work.  Any other ideas?
> 
> Chad
> who lives in his own little world
> 
> On 7/12/05, Steve Onnis <[EMAIL PROTECTED]> wrote:
> > <input name="state" id="state" type="radio" value="VA"
> > class="FormField" onclick="loadInfo()">
> >
> > Steve
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Chad
> > Renando
> > Sent: Tuesday, July 12, 2005 10:19 AM
> > To: CFAussie Mailing List
> > Subject: [cfaussie] OT: Javascript: radio instead of select
> >
> >
> > Hey all.  A bit off topic here, but figure someone may have a quick
> > answer.  Using cfajax,modifying one of their examples, text.htm.
> >
> > It uses a Select drop down to update the contents of a span tag.  I am
> > trying to replace the
> > Select with radio buttons, like so:
> >
> > Instead of:
> > <select id="state" name="state" onChange="loadInfo()">
> >     <option value="VA">Virginia</option>
> >     <option value="GA">Georgia</option>
> >     <option value="CA">California</option>
> > </select>
> >
> > I tried:
> > <input name="state" id="state" type="radio" value="VA"
> > class="FormField" onChange="loadInfo()">
> > <input name="state" id="state" type="radio" value="GA"
> > class="FormField" onChange="loadInfo()">
> > <input name="state" id="state" type="radio" value="CA"
> > class="FormField" onChange="loadInfo()">
> >
> > But all I get is the red Loading image, no errors and nothing happens.
> >
> > Any ideas?
> >
> > Thanks,
> >
> > Chad
> > who feels guilt when cross-posting
> >
> > ---
> > You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> > To unsubscribe send a blank email to
> > [EMAIL PROTECTED]
> > Aussie Macromedia Developers: http://lists.daemon.com.au/
> >
> >
> >
> > ---
> > You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> > To unsubscribe send a blank email to [EMAIL PROTECTED]
> > Aussie Macromedia Developers: http://lists.daemon.com.au/
> >
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to