I need to reference an elements dataval set

I need to access all the properties contained in an element's dataset, such as valRegex, and others.

How can I reference them and get the values?

Shall I get and set them thusly?

element.dataset.valRegex?

Thanks.
newbiewebSr. Software EngineerAsked:
Who is Participating?
 
Gurvinder Pal SinghConnect With a Mentor Commented:
well, first, how did you set the properties in the element dataset at first place? any example or pointer for the same?
0
 
newbiewebSr. Software EngineerAuthor Commented:
Thanks for reminding me. I need to set the values i want...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.