Results 1 to 2 of 2

Thread: Preselect in a pulldown

  1. #1
    Join Date
    May 2006
    Location
    New York City
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Preselect in a pulldown

    Is there a way to preselect an item in a pulldown select form? I know how to do this with radio buttons and checkboxes, but can it be done with a pulldown? Thanks.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Assuming this is standard, the keyword "selected" within the tag should do fine.
    Code:
    <select>
    <option .... selected>
    ....
    </select>
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •