Comments (2)
I'm getting the following error:
Uncaught TypeError: Cannot read property 'querySelectorAll' of null
at MutationObserver.My implementation is fairly standard I believe...
$(".cart-item-price .money").initialize( function(){ if ($(this).html().indexOf('taxes') !== -1) { $(this).append('<span> + taxes</span>'); } });
$.initialize([selector], [callback]);
So, try $.initialize('.cart-item-price .money', function(){}); instead
from jquery.initialize.
This issue appears inactive and a fix was suggested. If using $.initialize
does not resolve your issue, please reopen.
from jquery.initialize.
Related Issues (20)
- Greedy script? HOT 17
- Site for Docs and Demo HOT 3
- Increment version on push! HOT 4
- Fails in FF 58 HOT 3
- unsuscribe from the initialize? HOT 6
- .forEach() doesn't work in old versions of chrome HOT 7
- Using a jquery selector: $('selector') HOT 1
- Looking for maintainers HOT 8
- Support jQuery selectors HOT 17
- Getting element `index` out of the `$.initialize` loop. HOT 4
- Remove initialize event HOT 3
- Not working HOT 2
- Include deprecated warning for old API HOT 3
- Initialize for multi clases is it possible ? HOT 7
- Dynamic loading execution order HOT 4
- $.find.tokenize is missing in jQuery 3.7.0 HOT 5
- Refactor find/match algorithm
- Test Suite HOT 1
- No parentElement of html HOT 2
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.initialize.