jquery.initialize icon indicating copy to clipboard operation
jquery.initialize copied to clipboard

jQuery plugin for dynamically created elements initialization

Results 8 jquery.initialize issues
Sort by recently updated
recently updated
newest added

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')...

If content is loaded via ajax / xhr request and added to the page, should the content contain a script, the script is executed before initialize has a chance to...

I added terminate which triggers event when remove a node.

I'm trying to migrate away from [another jQuery plugin](https://github.com/eclecto/jQuery-onMutate), which has [several](https://github.com/eclecto/jQuery-onMutate/issues/18) [bugs](https://github.com/chocolateboy/userscripts/commit/9a547f919e862468c8f7af86780dee561c53a2b2), to this, which doesn't have either of those bugs. :+1: But, looking through the code, there appears...

feature request

Add console warning for old API from #6.

While investigating #42, I noticed that our `find`/`match` algorithm could be improved by using `closest`. For example: ```javascript const element = addedNode.closest(selector) || addedNode.querySelector(selector); ```

enhancement

There is currently no comprehensive test suite. This makes it near impossible to ensure that nothing breaks whilst making changes.