Click the button to highlight the DAY today.
The values MON, TUE ets. are each inside a <span> element, which are child elements of <div> element. The script will find each child element (the SPANS) and highlight the text in it.
MON
TUE
WED
THU
FRI
SAT
SUN
Go back to the Tutorial
More interesting and interactive Demos