SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Addict fesh's Avatar
    Join Date
    Jan 2005
    Location
    Jackson, New Jersey
    Posts
    218
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angry Firefox Select in a List

    I have a page set up with code similar to the following:
    HTML Code:
    <ul id="my_tree">
      <li>Subject A
        <ul>
          <li>Title A1
            <ul>
              <li>Author A1a
                <select name="A" id="A" onchange="alert('ya')">
                  <option value="1">One</option>
                  <option value="2">Two</option>
                </select>
              </li>
            </ul>
          </li>
        </ul>
      </li>
    </ul>
    
    <select name="B" id="B" onchange="alert('wo')">
      <option value="1">One</option>
      <option value="2">Two</option>
    </select>
    In IE (surprisingly) it works fine, but Firefox is giving me a problem. The select inside the list has an odd behavior while the one outside performs perfectly normal. The odd behavior is this, I click the select once and it's fine, but if I click it a second time (so that the select list stays open), the select shrinks in width a little and the list that stays open is empty...

    Like I said it's a weird problem I've never encountered...but has anyone ever had this problem?
    Fesh
    imagine what it's going to be like

  2. #2
    SitePoint Wizard drhowarddrfine's Avatar
    Join Date
    Aug 2005
    Posts
    3,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't see the problem.


Tags for this Thread

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
  •