/    Sign up×
Community /Pin to ProfileBookmark

Input Matrix???

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

to post a comment
PHP

8 Comments(s)

Copy linkTweet thisAlerts:
@bokehJul 07.2006 — It's pretty simple to do but you need to use javascript.
Copy linkTweet thisAlerts:
@EnkiauthorJul 08.2006 — 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
Copy linkTweet thisAlerts:
@NogDogJul 08.2006 — 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 [url=http://docs.sun.com/app/docs/coll/S1_Javascript_13]here[/url].

There are a number of on-line tutorials, such as [url=http://www.w3schools.com/js/default.asp]this one at W3Schools.com[/url].
Copy linkTweet thisAlerts:
@EnkiauthorJul 08.2006 — Thanks, NogDog. Looks like I've got some reading to do.

---Enki
Copy linkTweet thisAlerts:
@NogDogJul 08.2006 — In this business, you [i]always[/i] have some reading to do. ?
Copy linkTweet thisAlerts:
@bokehJul 08.2006 — [URL=http://bokehman.com/tests/matrix.html]Something like this[/URL] should get you in the ballpark.
Copy linkTweet thisAlerts:
@bokehJul 10.2006 — No good?
Copy linkTweet thisAlerts:
@EnkiauthorJul 10.2006 — Perfect! Thank you.


Sorry for the delay. I've been out of town with no online access. Just got back.
×

Success!

Help @Enki spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...