in document, we avoid calling to element id, but we are safe to use when we do like this picture below. My question is "Is that dynamic identifier?". Tks for your answer.
Hi Tony,
Widget element IDs are always generated automatically, and if you change your screen block design, the generated IDs may differ on the next publish.
Please refer below post for more details.
https://www.outsystems.com/forums/discussion/93169/i-need-to-know-more-about-id-selector-in-js/
Thanks,
Sachin
Hello Sachin, tks for your reply. But my team leader told me that it's safe when i use element.id That's i wondering. it must be static element right?
Hi Tony, Yes Its always safe to use element.id since it will not have any impact on the logic even though if its value got changed due to change in the design.
THanks,
Yes that is a dynamic identifier. Means you will always get the correct id of element from element.ID
Hope it helps,
Thanks
Tks you all!!!!
I unmarked a few replies that incorrectly were marked as solution.