Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (6 sloc) 443 Bytes

feature: dataset status: use tags: fallback gtie10 nooldmobile kind: api polyfillurls:HTML5 dataset support

elem.dataset is unsupported in Internet Explorer <= 10 and older mobile browsers. Using data-* attributes will be totally fine in all browsers, but instead of using elem.dataset.foo just use elem.getAttribute('data-foo'). A polyfill is available if you want terser syntax.

Something went wrong with that request. Please try again.