Click to See Complete Forum and Search --> : Input Matrix???


Enki
07-06-2006, 10:39 PM
I'm trying to create a matrix of radio buttons.
Not difficult. A table with a button in each cell will work

Here's the trick... Once a button is selected (clicked), all buttons in that row and column must be unselected.

I can do this with either a row or a column, but not both (html).

Any suggestions?

Thank you in advance.

---Enki

bokeh
07-07-2006, 03:10 AM
It's pretty simple to do but you need to use javascript.

Enki
07-07-2006, 07:12 PM
Thanks for the reply, bokeh. What is a good source to start learning JavaScript? While my courses in college gave me a slight taste of Java (the language, not the beverage), I don't know the libraries. For that reason, I've been hesitant to try learning it.

---Enki

NogDog
07-07-2006, 08:00 PM
JavaScript and Java are two separate things, which unfortunately share the same first for letters in order to confuse us. Sun has some online books on JavaScript here (http://docs.sun.com/app/docs/coll/S1_Javascript_13).

There are a number of on-line tutorials, such as this one at W3Schools.com (http://www.w3schools.com/js/default.asp).

Enki
07-07-2006, 08:54 PM
Thanks, NogDog. Looks like I've got some reading to do.

---Enki

NogDog
07-07-2006, 10:12 PM
In this business, you always have some reading to do. :)

bokeh
07-08-2006, 05:05 AM
Something like this (http://bokehman.com/tests/matrix.html) should get you in the ballpark.

bokeh
07-10-2006, 05:24 AM
No good?

Enki
07-10-2006, 12:33 PM
Perfect! Thank you.
Sorry for the delay. I've been out of town with no online access. Just got back.