The Daggers dominated the first half and edged ahead after 15 minutes when Elito skipped away from Carl Tremarco and Colin Daniel and shot past keeper Richard O’Donnell, with the help of a heavy deflection off Tony Diagne.
They had chances to double the lead through Luke Howell, Michael Spillane and John Akinde, but the trio were all thwarted by the busy O’Donnell.
Macclesfield rarely threatened in the first half, with George Donnelly miscuing their best opportunity harmlessly wide. But the Silkmen started the second period well and Matt Smith forced a smart save from Chris Lewington.
Midway through the second half, Matthew Hamshaw’s free-kick found Matt Smith, who headed against the crossbar and the rebound from Donnelly was brilliantly pushed away by Lewington.
Jon Nurse went close in the dying minutes but Elito wrapped the points up deep into stoppage time, racing away from Lewis Chalmers and seeing his shot fumbled by O’Donnell.
Tottenham's Champions League dream was ended by a second-half sucker-punch from Italian champions Juventus.
Sky Bet Championship leaders Wolves returned to form with a bang as they beat Leeds 3-0 at Elland Road to move a step closer to promotion.
A magical performance from Jordan Jones saw Kilmarnock climb to fifth in the Ladbrokes Premiership with a 2-0 win over 10-man St Johnstone.
Florent Hadergjonaj believes home advantage could prove crucial when Huddersfield play host to Swansea on Saturday.