
Jean
User

Feb 9, 2005, 10:25 AM
Post #1 of 3
(44077 views)
|
Modifying text boxes dynamically
|
Can't Post
|
|
Hi All, Being in dare need of some script, I'm not even sure this can be done with JavaScript as I'm not familiar with it. What I need is to have some sort of drop-down list that affects some text boxes (<input> fields). For example, let's assume that we have a drop-down list of 'cars,fruits,digicams'. Now whenever a user selects 1. 'car', two text boxes - simple "INPUT" HTML tags - should appear: 'maker','max_speed' 2. 'friuts', one text box should with 'price_per_kg' 3. 'digicams', two text boxes - 'maker', 'megapixels' Please take into account that: 1. I'm not familiar with JavaScript and barely familiar with Web programming in general 2. I'm pretty good at Perl - at least at its use as a system tool and for writing complex non-Web tools 3. After the user fills the text boxes Thanks in advance for the help,
Jean Spector SQA Engineer @ Exanet jean.spector@softhome.net There are only 10 types of people in the world - Those who understand binary, and those who don't.
(This post was edited by Jean on Feb 9, 2005, 11:00 AM)
|