Using data attributes - Learn web development | MDN[^]: To get a data attribute through the dataset object, get the property by the part of the attribute name after data- (note that dashes are converted to camelCase).
Maximilien wrote:Soapbox, y'a think ?
Eddy Vluggen wrote:You want to explain politics to your little sister?
Rajesh R Subramanian wrote: on the site for a while.
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.