When creating websites I often use jQuery\'s .data() function to add data to elements.
.data()
Is it possible to view all data which is stored with an element in Ch
Open the inspector, and into the console, type
$('').data()
and then hit return to evaluate the data() method and show its return value directly.
data()
There's no need to use console.log unless you're calling it within non-interactive code.
console.log