It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Problems with Select Box

Problems with Select Box

Postby ajidnair on Wed Jun 07, 2006 12:25 pm

Hi all,

1. The user shouldnot select more than 2 selections.
2. The selected items should come on the top of the box.
3. It should seem as selected.

Plz help...
This is the sample code


<select name="farea"size="5" multiple class="textboxes1" >
<option selected label="Mumbai" value="Mumbai">Mumbai</option>
<option label="Delhi" value="Delhi">Delhi</option>
<option label="Trivandrum" value="Gurgaon">Gurgaon</option>
<option label="Bangalore" value="Bangalore">Bangalore</option>
<option label="Trivandrum" value="Hyderabad">Hyderabad</option>
<option label="Trivandrum" value="Trivandrum">Trivandrum</option>
<option label="Trivandrum" value="Noida">Noida</option>
</select>
ajidnair
 
Posts: 0
Joined: Wed Jun 07, 2006 12:20 pm

Who is online

Users browsing this forum: No registered users and 7 guests