473,383 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

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?
Jul 17 '05 #1
2 2157
In alt.comp.lang.coldfusion Jean Luc Skywalker Baggins <fr***@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...
Jul 17 '05 #2
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
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
2
by: Ad Bec | last post by:
I know that this question has probably been asked before but I am not in the mood to search the forums I am already tired of doing that. I need an answer for my What are Microsoft corp. plans...
3
by: Leo J. Hart IV | last post by:
OK, here's another question for the experts: I am building a multi-step (3 steps actually) form using a panel for each step and hiding/displaying the appropriate panel/panels depending on which...
5
by: Irfan Akram | last post by:
Hi Mr.Steve, First of all many thanks for your kind response. The thing is that I am trying to control the user's action of deselecting a checkbox, once he has selected it. Also the checkbox has...
1
by: Bill DeWitt | last post by:
I know that there is probably some small amount of bias here for Java, but I am trying to decide whether to devote my learning curve time to java or flash. What I want to accomplish is to create a...
3
by: topmind | last post by:
I am generally new to dot.net, coming from "scriptish" web languages such as ColdFusion and Php. I have a few questions if you don't mind. First, how does one go about inserting dynamic SQL...
4
by: jedimasta | last post by:
Good evening all, I'm a relatively new to javascript, but I've been working with ColdFusion and PHP for years so I'm not necessarily ignorant, just stuck and frustrated. Using ColdFusion I'm...
2
by: HaifaCarina | last post by:
i have this unfinished java program and i can't figure out what is the problem.. please help... /** * @(#)Answer3.java * * * @author * @version 1.00 2008/1/17
1
by: iderocks | last post by:
Hi All, I created a dynamic checkbox in ASP .Net inside a Button1_Click event method (outside the page_load event) and performed the event handling method for the CheckedChanged event and when I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.