Reply
Highlighted
Visitor
Posts: 4
Registered: ‎09-29-2018

Jquery selector gives error for visuallyhidden element

Hi

I've some elements tracked with jquery onhalndler but one of them has a span class 'visuallyhidden', which gives error and not tracked. The error on the console is htmlanchorelement is anonymous.

Anyone know how I can solve this issue
Reply
0 Kudos
Tealium Employee
Posts: 23
Registered: ‎07-11-2017

Re: Jquery selector gives error for visuallyhidden element

[ Edited ]

Hi @abkarim,

You may have come across a shadow element (part of the shadow dom) and is accessed a little differently.

For more information on that, see: https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM

Hope that helps!

Regards,

Ribal

Reply
0 Kudos