SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Feb 2000
    Location
    Minnesota
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can I Focus to the first selected <option> item in a MULTIPLE Drop-Down Menu?

    I have a multiple drop-down menu with several items selected. When the page loads, I'd like the drop-down menu to automatically scroll to display the first selected item. Currently, I have to scroll and hunt for the selected items.
    Thanks!
    Keomed.com Webmaster
    www.keomed.com

  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wow, that's a good question. OPTIONs doen't support focus(), so I'm not sure if there's any exposed properties you can use.

    I'll think about that one, but don't get your hopes up.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •