Giter Site home page Giter Site logo

Comments (15)

mgol avatar mgol commented on May 18, 2024

Jogi:

wrong jsfiddle http://jsfiddle.net/kwfHZ/3/

i'm trying to reproduce my case correctly ...

from jquery.

mgol avatar mgol commented on May 18, 2024

@gibson042:

Your examples seem to be working correctly. Can you describe what you're trying to do, what behavior you're expecting, and what behavior you're seeing?

from jquery.

mgol avatar mgol commented on May 18, 2024

@gibson042:

http://bugs.jquery.com/ticket/15103 is a duplicate of this ticket.

from jquery.

mgol avatar mgol commented on May 18, 2024

Jogi:

0k So there is my case:

http://jsfiddle.net/xorkk/JTtu3/

I don't understand why on IE8:

$("#tblMF .numasaCmp_1 [name='NUMASA_CMP']") => undefined

but $("#tblMF .numasaCmp_1").find("[name='NUMASA_CMP']") => works

On Firefox, both works.

from jquery.

mgol avatar mgol commented on May 18, 2024

@gibson042:

We'll need something more reduced than 1.4 KB of HTML plus a script unrelated to this issue.

from jquery.

mgol avatar mgol commented on May 18, 2024

Jogi:

Ok i've reduced the exemple:

http://jsfiddle.net/xorkk/JTtu3/

from jquery.

mgol avatar mgol commented on May 18, 2024

Jogi:

i See one more thing, if i remove the line with .prop("disabled", false) , my selector works correclty.

from jquery.

mgol avatar mgol commented on May 18, 2024

Jogi:

other observation:

$("#tblMF .numasaCmp_1 [name='NUMASA_CMP']") => undefined

but $("#tblAA .numasaCmp_1 [name='NUMASA_CMP']") => work

from jquery.

mgol avatar mgol commented on May 18, 2024

@gibson042:

I removed superfluous markup and script from your fiddle and changed .val() to .length for better insight: http://jsfiddle.net/JTtu3/57/

There is something to this that seems to be related to Sizzle combinator caching in oldIE.

from jquery.

mgol avatar mgol commented on May 18, 2024

Jogi:

Same problem with ":input" instead of [name...]
$(".nonStructAssetTemplate :input").length == 0
$(".nonStructAssetTemplate").find(":input").length != 0

from jquery.

mgol avatar mgol commented on May 18, 2024

@gibson042:

This is actually a problem with .clone: http://jsfiddle.net/JTtu3/59/

In IE8 (and other versions as well, I'm sure), the clone still has a reference to the Sizzle cache object of its referent, which wreaks all kinds of havoc with any operation using it. Maybe we can update fixCloneNodeIssues to look for and remove attributes associated with reference-equal clone/source properties.

from jquery.

mgol avatar mgol commented on May 18, 2024

@gibson042:

PR: #1652

from jquery.

dmethvin avatar dmethvin commented on May 18, 2024

Per the discussion on gh-1652 we decided there was no good solution but the least bad solution was that we'd clear the Sizzle expando. Is that correct?

from jquery.

gibson042 avatar gibson042 commented on May 18, 2024

Correct.

from jquery.

markelog avatar markelog commented on May 18, 2024

@gibson042 please ping me up when you gonna update sizzle

from jquery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.