| Author |
How to create dynamic textboxes based on dropdown selection
|
Punit Jain
Ranch Hand
Joined: Aug 20, 2011
Posts: 902
|
|
Hello everyone,
my problem is: I want to show textboxes on a form as the dropdown selection, i mean if anyone selected 5 in the dropdown, 5 textboxes should display below.
can anyone tell me how can i do this using js??
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
document.createElement and appendChild() are what you need. OR if there is a limited number of selections,, you can show and hide.
Eric
|
 |
Punit Jain
Ranch Hand
Joined: Aug 20, 2011
Posts: 902
|
|
Eric Pascarello wrote:document.createElement and appendChild() are what you need. OR if there is a limited number of selections,, you can show and hide.
Eric
Yes, i got it.
Thank you..
|
 |
 |
|
|
subject: How to create dynamic textboxes based on dropdown selection
|
|
|