id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking 6448,"Problem with selector having ""]"" and context",maizy,,"I have html structure like that: {{{
}}} This selectors work fine: {{{ $('button[name$=""ok\\]""]').length === 1; //true $('button[name*=""ok""]').length === 1; //true $('div#wrap button[name$=""ok\\]""]').length === 1; //true $('button[name*=""ok\\]""]', $('#wrap')).length === 1; //true $('div#wrap').length === 1; //true }}} but that doesn't: {{{ var res = $('button[name$=""ok\\]""]', $('#wrap')).length; res === 1; //false res === 0; //true }}} jQuery 1.4.2. Checked on Google Chrome 5.0.342.9 beta (Linux), FF 3.5.9 (Linux).",bug,closed,high,1.5,selector,1.5b1,fixed,scope ],,6093,