Home › Forums › CSS › HTML5 data attributes and Jquery problem › Re: HTML5 data attributes and Jquery problem
March 13, 2013 at 12:37 pm
#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