Page 1 of 1

changing combo selection, showing related control?

Posted: Tue Jan 05, 2010 7:58 pm
by soclose
Hi All,

I'd like to create a html combo box

For example

List of this combo box
1)Most Likely
2)Won Date
3)Lost

when user chooses 'Most Likely', another combo box will be automatically appeared.

when user chooses 'Won Date', another Date Picker will be automatically appeared.

when user chooses 'Lost', another Text box will be automatically appeared to type comments.

How to code?

Re: changing combo selection, showing related control?

Posted: Tue Jan 05, 2010 9:15 pm
by manohoo
Use javascript

Re: changing combo selection, showing related control?

Posted: Tue Jan 05, 2010 10:47 pm
by soclose
Please give me a sample code because I'm a beginner in JScript.

Re: changing combo selection, showing related control?

Posted: Wed Jan 06, 2010 12:29 am
by flying_circus
soclose wrote:Please give me a sample code because I'm a beginner in JScript.
And your adventure starts by googling the "onchange" event.