Bug Tracker

Opened 13 years ago

Closed 12 years ago

#6662 closed bug (invalid)

Selector doesn't seem to work in Chrome

Reported by: ross Owned by:
Priority: undecided Milestone: 1.4.3
Component: selector Version: 1.4.2
Keywords: Cc: select, option, chrome
Blocked by: Blocking:

Description (last modified by dmethvin)

This test case explains the problem: http://jsfiddle.net/n7GjN/

Essentially the second <option> should be changed.

This occurs in Google Chrome 5.0.375.70 (Official Build 48679) beta. (WebKit 533.4; V8

In case the test case goes down:

<select name="label" id="label"> 
    <option value="1" label="testLabel">testLabel</option> 
    <option value="newLabel" label="New Label">New Label</option> 

    $("#label option[value=newLabel]").html("Other Label");

Change History (2)

comment:1 Changed 13 years ago by dmethvin

Cc: select option chrome added
Description: modified (diff)

comment:2 Changed 12 years ago by addyosmani

Priority: undecided
Resolution: invalid
Status: newclosed

Invalid bug. I think what happened here is that you may have misconfigured JSFiddle. Setting the first option to 'onLoad' or 'onDomReady' you will see that in both Chrome and any other webkit browsers that your test case is working fine.

Please see here: http://jsfiddle.net/n7GjN/4/

Note: See TracTickets for help on using tickets.