This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes javascript question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript question" Watch "javascript question" New topic
Author

javascript question

c ccc
Greenhorn

Joined: Dec 23, 2005
Posts: 2
hi,

is there a way to dynamically allocate the size for the selection box? for example, when the user select a radio box with value 10, the selection box will have 10 options; when the user select a radio box with value 20, the selection box will have 20 options.

many thanks in advance and happy holidays.

ccc
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41592
    
  55
Hello "c ccc"-

Welcome to JavaRanch.

On your way in you may have missed that we have a policy on screen names here, and yours does not conform to it. You can change it right here. Thanks for your prompt attention to this matter.

Enjoy your time here.

As to your question, yes, that's possible, although I can't give the syntax off the top of my head. The JavaScript gurus hang out (unsurprisingly) in the HTML/JavaScript forum, not in this forum, which is about web services. Someone will move this thread there, so that you might get a quicker response.


Ping & DNS - my free Android networking tools app
 
 
subject: javascript question