Solved

I need to reference an elements dataval set

Posted on 2011-09-26
2
152 Views
Last Modified: 2012-05-12
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.
0
Comment
Question by:newbieweb
2 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
ID: 36707970
well, first, how did you set the properties in the element dataset at first place? any example or pointer for the same?
0
 

Author Closing Comment

by:newbieweb
ID: 36708974
Thanks for reminding me. I need to set the values i want...
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
age from date of birth 4 43
https://github.com/willowsystems/jSignature 11 52
jqury 17 30
how can i get 4 nd 5 ? 3 15
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question