Using Plug-ins in External content to be loaded with AJAX
I have been trying to learn how to “bind” whatever jQuery is in the external files to the recipient document.
When I use .LOAD to bring in external content that has HTML & CSS Markup in it, those HTML and CSS markups get seen by the browser
The fact that the browser finds the HTML & CSS markup and renders them appropriately suggests to me that they are in the DOM.
If they are in the DOM, why can’t jQuery find them without any other code support?
I have played around with .on to no good result and read a lot about “bubbling”. I am beginning to bubble over in confusion.
The one that I have working is a callback. No use of .on. It is very much the same code as in the external document.
Do all the jQuery things in the external documents being loaded with AJAX have to be handled in the callback?
Is there are universal method? Or is every single piece of external jQuery plug-in code needing a differently structured callback?
Are there examples of how to connect various types of plug-ins somewhere?
Where can I learn how to connect the recipient document to any plug-in that I put in external AJAX loaded content?