Comments (15)
Jogi:
wrong jsfiddle http://jsfiddle.net/kwfHZ/3/
i'm trying to reproduce my case correctly ...
from jquery.
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.
http://bugs.jquery.com/ticket/15103 is a duplicate of this ticket.
from jquery.
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.
We'll need something more reduced than 1.4 KB of HTML plus a script unrelated to this issue.
from jquery.
Jogi:
Ok i've reduced the exemple:
http://jsfiddle.net/xorkk/JTtu3/
from jquery.
Jogi:
i See one more thing, if i remove the line with .prop("disabled", false) , my selector works correclty.
from jquery.
Jogi:
other observation:
$("#tblMF .numasaCmp_1 [name='NUMASA_CMP']") => undefined
but $("#tblAA .numasaCmp_1 [name='NUMASA_CMP']") => work
from jquery.
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.
Jogi:
Same problem with ":input" instead of [name...]
$(".nonStructAssetTemplate :input").length == 0
$(".nonStructAssetTemplate").find(":input").length != 0
from jquery.
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.
PR: #1652
from jquery.
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.
Correct.
from jquery.
@gibson042 please ping me up when you gonna update sizzle
from jquery.
Related Issues (20)
- Deprecation / Warning | jQuery CDN HOT 4
- Cannot read properties of null (reading 'compareDocumentPosition') HOT 3
- Invalid links in blog article HOT 2
- The jquery.factory.js bundle is missing in the npm package in the 4.0.0-beta release HOT 2
- `require( "jquery" )` returns a module object when used with Webpack & jQuery 4.0.0-beta HOT 24
- v4 beta : mottie/tablesorter plugin fails with sort() and trim() missing HOT 1
- Jquery-UI getting Error With jQuery jQuery 4.0.0 BETA! HOT 4
- jQuery.get() 4.0 backward compatibility issue HOT 3
- Permissions policy violation due to unload event HOT 1
- Avoiding JQuery version disclosure on Angular's Script.JS HOT 1
- Scripts in dynamically set html always asynchronously loaded HOT 3
- jQuery 3.7.1 is still making wrong calculation of dimensions in Firefox. HOT 1
- Memory Leak: OriginAnchor HOT 6
- Memory Leak: boxSizingReliable HOT 4
- Triggering after an `alert()` in an event handler results in a JS error HOT 2
- The strange behavior generated by the append method HOT 1
- Avoid counting scroll twice in offset
- jQuery Migrate 3.4.0 - elem.focus() is not working HOT 3
- Issue or behaviour??? - 2.2.3 to 3.6.0 - active element changed on focus. HOT 2
- Issue using JQuery 3.7.1 and CSP
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.