Click to See Complete Forum and Search --> : How i do this using javascript ?


rajrathor
05-05-2007, 05:09 AM
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

ricp
05-05-2007, 06:10 AM
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.

JMRKER
05-05-2007, 08:52 AM
Can you modify the solutions found from these earlier posts?

See:
http://www.webdeveloper.com/forum/showthread.php?t=145856
http://www.webdeveloper.com/forum/showthread.php?t=145633
http://www.webdeveloper.com/forum/showthread.php?t=143955
or
http://www.webdeveloper.com/forum/showthread.php?t=142640