Javascript "inlet" or "offset" function for drop-list options

Posted by Camran on Stack Overflow See other posts from Stack Overflow or by Camran
Published on 2010-05-17T14:34:49Z Indexed on 2010/05/17 14:40 UTC
Read the original article Hit count: 233

Filed under:
|
|

I have seen on several sites that drop list values can have offsets... For example this drop-list:

 Fruits
   Apple
   Banana
   Orange
 Colors
   Red
   White
   Black

The above are all options, but some have "inlets" or "offsets" or whatever you want to call it. How is this done with js? (regular js, not jquery at the moment)

Thanks If you need more input let me know.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html