|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Display problem
Hi,
I want to display the values a user selects in a drop down the user can select multiple values in the drop down . Here is my code so if i select Cars and Food as two options it only displays Cars Can someone tell me what i am doing wrong Code:
Subjects: <select name="subj" id="subj" multiple="multiple" onKeyup="document.getElementById('big').innerHTML=frm1.subj.value">
value="">Select a subject</option>
<option value="Cars">Cars</option>
<option value="Food">Food</option>
</select>
Code:
<span id="big">
<%=Request.Form("subj")%><br/>
</SPAN>
|
|
#2
|
||||
|
||||
|
You want them to be able to select multiple values but you only want it to show one value?
My brain hurts....
__________________
The liver is evil and must be punished! |
|
#3
|
|||
|
|||
|
hi,
it displays multiple values in the drop down because of the code which has multiple="multiple" princecharles |
|
#4
|
|||
|
|||
|
can someone tell me why i got a warning i never cross posted.
|
|
#5
|
|||
|
|||
|
You will have to talk with the admins. I got a warning just because I tried to do a buddy a favor and tell people on this forum about his website. <_< I also tried looking because I wanted to see why you got it. None of your posts got you it. Couldn't find where you got the rep either. Weird.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > JavaScript Development > Display problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|