OT(?) Dynamic java checkbox for use with coldfusion?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jean Luc Skywalker Baggins

    OT(?) Dynamic java checkbox for use with coldfusion?

    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?


  • Bob Dively

    #2
    Re: OT(?) Dynamic java checkbox for use with coldfusion?

    In alt.comp.lang.c oldfusion Jean Luc Skywalker Baggins <frodo@jean.luc > wrote:

    : 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.

    You probably need *JavaScript* not Java, which is something
    completely different and unrelated.

    --
    Bob Dively | I used to be indecisive, but now I'm not sure...

    Comment

    • Jon Cooper

      #3
      Re: OT(?) Dynamic java checkbox for use with coldfusion?

      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="docume nt.all.complete d.style.display ='';">
      Incomplete: <input name="complete" type="radio" value="1"
      onClick="docume nt.all.complete d.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" <frodo@jean.luc > wrote in message
      news:xkN_c.4342 $dC4.35@trndny0 6...[color=blue]
      > 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[/color]
      to[color=blue]
      > 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[/color]
      how[color=blue]
      > inappropriate the crosspost... go figure.
      >
      > I'm working on a coldfusion application that asks students whether they[/color]
      have[color=blue]
      > 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?
      >
      >[/color]


      ---
      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


      Comment

      Working...