javascript - Will HTML 5 data attribute support in old browsers? -


i'm storing custom data in html5 data attribute jquery processing. custom data attribute available in older browsers?

the html5 datalist property not available in older browsers (it can polyfilled enough though). can use standard getattribute method instead of course, , data-xxx attributes on html elements accepted browsers (as long you're in html mode , not xhtml they're invalid)

but question seems more jquery html5, , that, answer yes -- jquery .data() method available in browsers supported jquery.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -