• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript question

 
c ccc
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic