Cool. I'll have a look. I may just end up accomodating the drop-down for now.
Thanks guys. Chad who feels a lot of love right about now On 7/12/05, Ayudh Nagara <[EMAIL PROTECTED]> wrote: > Maybe your problem is the way the loadInfo() function retrieves the > value of the selected option from the form - the DOM is very different > for select dropdowns vs radio buttons. You'll probably need to modify > loadInfo() accordingly. > > BTW, Steve is right in that you need onClick instead of onChange for a > start. > > Chad Renando 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/ > > > > -- > Regards: Ayudh > > +----------------------------------------------------------------+ > | SOAP is the glue! Hook up your server directly to your bank. | > | Connect to VeriPay xServ, the Australian Payments Web Service. | > | Reliable, Secure, FAST: http://www.xilo.com/xserv | > +----------------------------------------------------------------+ > > > --- > 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/
