[Webkit-unassigned] [Bug 23911] New: Dynamic select option fields bug?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 11 18:03:38 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23911

           Summary: Dynamic select option fields bug?
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: PC
               URL: https://www.startssl.com/?app=12
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eddy_nigg at startcom.org


Navigate to the URL https://www.startssl.com/?app=12 and click on register. In
Safari the selects for country and states lock up. Code which could cause the
problem is:

onchange="x_get_states_by_country_name(this.value,changeState);"

Which is AJAX call. The return function is:

function changeState(states) {
  stateElement = document.getElementById("State");
  stateElement.options.length = 0;
  var i = 0;

  for (var i in states){ 

    stateElement.options[i]=new Option(states[i], states[i], false, false);

  }
}


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list