julmado
01-26-2007, 12:43 PM
1) Script Title: Combo Box viewer
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/comboviewer.htm
3) Describe problem:
I'd like to put more than one on a page.
I tried just to change the
<form name="dropmsgform">
<select name="dropmsgoption" size="1" style="width:300" onChange="expandone()">
to
<form name="dropmsgform2">
<select name="dropmsgoption2" size="1" style="width:300" onChange="expandone()">
and subsequent numbers.
What happens is the whole content is displayed once the HTML is loaded, not just the selected option.
I'm sure this is so simple!
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/comboviewer.htm
3) Describe problem:
I'd like to put more than one on a page.
I tried just to change the
<form name="dropmsgform">
<select name="dropmsgoption" size="1" style="width:300" onChange="expandone()">
to
<form name="dropmsgform2">
<select name="dropmsgoption2" size="1" style="width:300" onChange="expandone()">
and subsequent numbers.
What happens is the whole content is displayed once the HTML is loaded, not just the selected option.
I'm sure this is so simple!