Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS HTML5 data attributes and Jquery problem Re: HTML5 data attributes and Jquery problem

#128070
CrocoDillon
Participant

`$(‘[data-day=’+d.getDate()+’]’)` targets the div where data-day is current day. The other variables aren’t used anywhere by the way.

Don’t know why you are using all data attributes though but whatever :P