Append to container using class name instead of ID | XM Community
Solved

Append to container using class name instead of ID

  • 10 October 2019
  • 1 reply
  • 30 views

Hi,

My company website is built using ReactJS, and does not contain any IDs throughout the markup.

I would like to insert custom HTML into a part of this site. However, the docs say that I must latch on to an ID specifically (https://www.qualtrics.com/support/website-app-feedback/creatives-tab/creative-types/custom-html-creative/). When I use an ID it works, but if I use a class or any other selector it does not work.

How can I work around this without making any changes to the website itself?

I just want to be able to select by .classname instead of #idname

Thanks,
Joe
icon

Best answer by MSobotta 10 October 2019, 16:41

View original

1 reply

Userlevel 4
Badge +17
I have this same issue as our designers are starting to use classes over ids, which is good for design, but not all that helpful for Site Intercept. I believe you should put in a request to the Product Ideas area.

Leave a Reply