.data()

Store arbitrary data associated with the matched elements or return the value at the named data store for the first element in the set of matched elements.

Types

JavaScript provides several built-in datatypes. In addition to those, this page documents virtual types like Selectors, enhanced pseudo-types like Events and all and everything you wanted to know about Functions. You should be able to try out most of the examples below by just copying them to your browser's JavaScript Console (Chrome, Safari with Develop … Continue reading