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 HTML Forum

how to create sub-values in option attribute

how to create sub-values in option attribute

Postby kdjuiopo on Tue Jul 26, 2011 7:10 am

Hey guys,

I am trying to create a form where there are a number of values that drop down but I was wondering if there's a way to do sub-values for each value. For example if one value is the color blue and then I want to list all the shades of blue underneath it.

Please let me know if my question doesn't make sense and if I need to explain better.

Thanks!
kdjuiopo
50+ Club
 
Posts: 90
Joined: Fri Jul 01, 2011 1:32 am

Re: how to create sub-values in option attribute

Postby rajmv on Sat Jul 30, 2011 5:09 am

Depends on how you want to show this sub-list. Do you want to select multiples from the sub-list?

A <select> with another <select multiple> might work for you.
rajmv
100+ Club
 
Posts: 103
Joined: Thu Jul 14, 2011 7:22 am


Who is online

Users browsing this forum: No registered users and 7 guests