jQuery's append() Methods Intercept Script Tag Insertion And Circumvent Load Handlers

added by JavaScript Kicks
6/2/2018 1:20:23 PM

108 Views

The other day, I was adding FunnelEnvy to an application. The FunnelEnvy library requires both a Script Tag injection and some subsequent configuration of the loaded module. And, since I was in the middle of some jQuery logic, I figured I would just use jQuery to create, append, and listen for the "load" event on said Script tag.


0 comments