Bug Tracker

Custom Query (13852 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (37 - 39 of 13852)

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Ticket Resolution Summary Owner Reporter
#12511 notabug $.closest(selector) also return starting element anonymous
Description

The documentation says that $closest() is similar to $.parents() but stop at the first parent found.

But $('.item').closest('.item') return itself...

I've tried various versions with jsFiddle. see this test : http://jsfiddle.net/x6tnS/

#12516 notabug Fix TestSwarm failure of ajax.js tests on Chrome dmethvin
Description

This just revealed further problems down the line:

https://github.com/jquery/jquery/commit/9c5089a60d479a959b290a5b4ab8ef38c985e963

http://swarm.jquery.org/result/228943

#12520 notabug CANNOT FIND ELEMENTS OF NODES IN XML no
Description

Hi, i try to find some data in my xml file. i would like to find test:company

This is the XML:

<Datei>
  <test:company>
    <Headline>1. first headline</Headline>
    <Content>1. first text</Content>
    <Footer>1. first footer</Footer>
  </test:company>
  <test:company>
    <Headline>2. second headline</Headline>
    <Content>2. second text</Content>
    <Footer>2. second footer</Footer>
  </test:company>
</Datei>

The code:

$(xml).find('[nodeName=test:company]').each(function(){
//Do something
})

i also tested:

$(xml).find('test\\\\:company, company').each(function(){
//Do something
})

and

$(xml).find("test\\:company, company").each(function(){
//Do something
})

The Problem is the Do something code is not being reached

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Note: See TracQuery for help on using queries.