As Bob mentioned you are talking about javascript not java (very different
animals!)
The code you'll need will be something like this:
<FORM>
Complete: <input name="complete" type="radio" value="1"
onClick="document.all.completed.style.display ='';">
Incomplete: <input name="complete" type="radio" value="1"
onClick="document.all.completed.style.display ='none';">
<SPAN id="completed" STYLE="display:none">
<hr>
Semester: <select name="semester"></select><br>
Grade: <select name="grade"></select>
</SPAN>
</FORM>
Basically when you click on the radio buttons they will show or hide
(depending which one u click!) all the code between the 'completed' SPAN
tags.
cheers
Jon
Visation Ltd
www.MyGolfingLife.com - find great golf courses near you!
"Jean Luc Skywalker Baggins" <fr***@jean.luc> wrote in message
news:xkN_c.4342$dC4.35@trndny06...
Didn't know who to ask, the java experts or the coldfusion experts... so
here it is and my sincerest appologies for the crosspost. I am also going
to crosspost to alt.startrek for good measure. Generally speaking, whenever I
do this the response seems to come from the startrek NG first no matter
how inappropriate the crosspost... go figure.
I'm working on a coldfusion application that asks students whether they
have taken a class, and if so in which semester did they take it and what grade
did they get.
Right now I'm using radio buttons for 'complete' or 'incomplete' and then
two selection menus for semester and grade. This is very clunky looking.
I'd prefer that the "what semester" and "what grade" selection menus would
only appear after the student clicks the "complete" radio button.
Being a stranger to Java, anybody know any good resources to start with?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.752 / Virus Database: 503 - Release Date: 03/09/2004