SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist jkh1978's Avatar
    Join Date
    May 2001
    Location
    Northern Virginia
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    dropdown and anchor

    Whats wrong?

    PHP Code:
    <form>
      <
    select size="1" name="schools" onChange="location.replace(document.all.schools.value);">
        <
    option>para1</option>
        <
    option>para2</option>
        <
    option>para3</option>
        <
    option>para4</option>
      </
    select>
    </
    form

  2. #2
    Weird Little Girl Desdelena's Avatar
    Join Date
    May 2002
    Location
    Canada
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could the fact that your options do not have a value have anything to do with the problem?
    Memento Mori

  3. #3
    SitePoint Evangelist jkh1978's Avatar
    Join Date
    May 2001
    Location
    Northern Virginia
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I fixed that problem...

    it works if my data are paragraphs. I wanted to have the data in a table, and the drop down box would jump to the row in the table for that data. Instead, all of the anchor tags are before the table.

    Is there a way to get this to work?


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
  •