Zach Hemming made a couple of smart saves from Ollie Turton and Luke Garbutt, while Dylan Duffy and Lee Bonis had half chances for the Spireites in the first 45 in what was a scrappy game played on a scruffy surface.
Ryan Graydon missed a huge chance for the hosts when he smacked the crossbar from six-yards out just before the hour, while Daniel Udoh hit the side-netting when through on goal later on as the hosts were on top in the second-half.
Graydon had two more chances, first being denied by a superb challenge from Sil Swinkels, before the striker hooked narrowly wide with 15 minutes remaining.
Kelly Nmai raced through late on but Sam Curtis managed to get back and make a last-ditch tackle and that proved important as Curtis’ cross down the other end was turned in by Cooper in the 93rd minute to send the Spireites bench and travelling fans wild.
Here are our player ratings from the game...

9. Dylan Duffy 6
Played in a central role behind Bonis and also drifted wide left. Had Chesterfield's first sight of goal with a half chance from a header which went over. Couldn't advantage of a mistake from keeper Young, firing well over from distance after the home stopper skewed a clearance to him. Photo: Tina Jenner

10. Armando Dobra 5
His first start since October after a hamstring injury and he looked like someone who had been out for three months. A bit rusty and the aggressive Mnoga gave him nothing. The 55 minutes will have done him good, though. Photo: Brian Eyre

11. Lee Bonis 6
Didn't get any quality service but he had a half chance in the first-half when he saw goalkeeper Young off his line but he got his attempted lob all wrong. Chesterfield were under the cosh for most of the second-half so he had nothing from an attacking perspective to get excited about but he did some top work in coming back and defending long throws and set-pieces. Photo: Tina Jenner


