/    Sign up×
Community /Pin to ProfileBookmark

How i do this using javascript ?

I have to design a form in which there will be three radio buttons suppose

[1] one [2] two [3] three

when i click on one it will show a multi selection combo box ,
when i click on two it will show one input textbox and a multisection combo box
and when i click on three it will show one input box and a multiselection combo box

Actually i have to design this form inside a table, but when i was trying it is not giving me the result.

table


————————–

| |
| |
| Form |
| |


————————–

please help me….
Thanx in Advance

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@ricpMay 05.2007 — Could you mark which ones are the same? for example, is the "multisection combo box" (which by that I presume you mean a multiple select) the same one or is there three?

In general btw, it is very easy to do, and would revolve around the basic premise of picking up some unique element from the onclick of the checkbox, and setting the .style.display property from block or inline to none, or vice-versa.
×

Success!

Help @rajrathor 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 5.5,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

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