165
questions
0
votes
1
answer
613
views
querySelectorAll paused on exception in Chrome in jquery
My project is a Ruby on Rails project and it ran fine before, but recently it stopped working in Chrome. It runs fine in Safari and Firefox.
When I have the developer tools window open and I refresh ...
0
votes
2
answers
153
views
Iframes Memory Leak with JQuery and Sizzle
We have a situation where there are 3 levels of nested iframes. The 3rd iframe initializes few heavy size objects, but this iframe is discarded and rebuilt in the DOM whenever user navigates across ...
2
votes
0
answers
312
views
How to fix Uncaught Error: Syntax error, unrecognized expression: #3, at Function.Sizzle.error (jquery-3.6.0.js:1681)
I am using jQuery version 3.6.0 but while toggling between the radio buttons got the error in the console as shown in the screenshot.
Any suggestion on the fix will be appreciated.
0
votes
0
answers
83
views
How do I use sizzle like jQuery do for selecting and performing actions to the selected elements?
I am creating a JavaScript library like jQuery.
I was using simple querySelector() method to select elements.
Eg. $(element).method().
Then I found jQuery uses sizzle.
I also wanted to use sizzle .
...
0
votes
1
answer
768
views
Why jQuery needs Sizzle internally? [closed]
When I was looking at the jQuery code source, I became interested in Sizzle-js, which is a CSS selector engine library that jQuery uses for selecting DOM elements. So, my question is why jQuery ...
0
votes
0
answers
32
views
JQuery upgrade causing slowness in dom attribute getting and setting
My application was running fine with JQuery 1.7.2. After I upgraded to 3.4.1 it has become very very slow.
When debugged with chrome performance tool observed while getting and setting visibility of ...
3
votes
2
answers
961
views
What is the difference between Sizzle and document.querySelectorAll
For what I know, Sizzle and querySelector/querySelectorAll are CSS selectors.
So... What is the difference between loading Sizzle and doing:
Sizzle("my CSS query")
and
document.querySelectorAll("my ...
2
votes
1
answer
583
views
Puppeteer js query and click a link inside of a td where td id contains
I have to get the following selector. There's several of them:
<td id="content_gvNewLeads_tccell0_5" class="dxgv dx-ellipsis" align="left" style="border-bottom-width:0px;">
...
0
votes
1
answer
182
views
Overriding jQuery function loses 'this' scope
I am trying to implement the following answer from another question:
https://stackoverflow.com/a/26469105/2402594
Basically I need to add an extra check to a jQuery function. The following code is ...
5
votes
1
answer
11k
views
jQuery Sizzle syntax error - uncaught expression
I migrated from jQuery 1.6 (can't remember exact version) to jQuery 3.3.1 and I'm getting error in following code:
//datatable row click events
$('#@mainDatatableName tbody').on('click', 'tr', ...
1
vote
0
answers
256
views
RoR, Sizzle Uncaught Error: Syntax error, unrecognized expression: /sv/priser
The error
jquery.self-977e28a4e7fded7698789e394a585c6339d54c0ad1537f498a40d2800098a521.js?body=1:1464 Uncaught Error: Syntax error, unrecognized expression: /sv/priser
at Function.Sizzle....
0
votes
3
answers
70
views
Get rightmost input:checked of every tr using a single jQuery(Sizzle) selector
I don't know if this is possible, but it's an interesting situation I came across in my project today.
A table of checkboxes. One type of checkboxes are hierarchical, which means that if one is ...
3
votes
1
answer
334
views
jquery find exception with contains selector
I have some code running with jQuery 1.7.2
I encountered an error when trying to find using this selector
var x = "span:contains(\"C) Foo (Bar)\")";
$('body').find(x)
https://jsfiddle.net/elewinso/...
1
vote
0
answers
52
views
hard time understand jquery (sizzel) performance results
While trying to improve my app performance and came up with the following question.
Which of the two will be more efficient?
let arr = $('#nav-questions, #nav-jobs, #nav-docs > small, #nav-tags')...
0
votes
1
answer
96
views
Moving from Gulp to the Bundler and Minifier Extension
we're attempting to move away from Gulp and instead using the integrated VS bundler and compiler extension. It generates the output files of site.js and vendor.js fine, but when you reload the page, ...