DEV Community

Md Abdullah al noor
Md Abdullah al noor

Posted on

set/attach invisible/unseen attribute/value into html element through vanilla js

I set data attribute as a id to my html element but when I console log or debug html element i can see the data id (1,2)....

how I will do it invisible or unseeable ? or is there is a way do it invisible or unseeable ?

below example..

Top comments (0)