hwg-basics archives | Apr 2000 | new search | results | previous | next |
Re: Form and JavaScript problem..by Christopher Higgs <c.higgs(at)landfood.unimelb.edu.au> |
|
At 22:20 26/04/00 -0400, CRAIG S MONROE wrote: >I was wondering if you all could shed a little light on a problem I am >having with a form with a script. > >Something is not working correctly... Because the radio button has more than one value, you need to determine which one is checked: //if 2e500 selected if ( document.product.choice[0].checked) { alert ("the 2e500 document write"); } //if the 3220h selected else { alert ("the 3220 document write"); } Chris Higgs <c.higgs(at)landfood.unimelb.edu.au> Institute of Land and Food Resources University of Melbourne http://www.landfood.unimelb.edu.au
HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA