Forum Discussion

KellyWiegand's avatar
KellyWiegand
Occasional Contributor
2 years ago

How to get custom properties?

Hi, The elements in our website have some custom properties that cannot be found in TC, how can I get them in script?   I want to fill a field but I don't know which type it is. So I want to write...
  • rraghvani's avatar
    2 years ago

    Here's an example,

    You can use hasAttribute() and getAttribute() methods.