Trying to attach a tag to an element that is added after DOM load

brian_greig
Silver Contributor
Silver Contributor brian_greig

I have a tag that needs to be added to an element that is added after the DOM is loaded.  Therefore scoping to pre loader and dom ready is not an option.  I tried using jquery .on() and using a delegate but it doesn't seem to work.  Any advice or solutions would be greatly appreciated.

 

 

If I have seen further it is by standing on the shoulders of giants
2 REPLIES 2
Highlighted

Trying to attach a tag to an element that is added after DOM load

Tealium Employee
Hey Brian,

Shoot me an email with the details and I can get this looked into further.

Josh

Trying to attach a tag to an element that is added after DOM load

okbrown
Silver Contributor
Silver Contributor okbrown

How is this repsonse helpful to others who are searching for the same answers?