Batley produced two length-of-the-field touchdowns in a ding-dong second half to overcome a Giants side containing no less than 14 full-time players.
The Bulldogs had a comfortable first half in which stylish centre Danny Maun opened the scoring with an arching run while thrilling wingman Alex Brown pushed the scoreline along with another touchdown after some clever breaks from half backs Gareth Moore and Paul Mennell.
The Giants hit back through two former Batley players with scrum half Kyle Wood initiating a 50-metre move which centre John Griffin finished off in style for Greg McNally to convert.
But the scoring gap was restored as Batley half-backs Moore and Mennell again combined to send supporting full-back Ian Preece spurting over for a try goaled by Moore.
It looked as though Batley might run away with the game when, early in the second half, wingman Brown finished off a six- man move, initiated by substitute Paul Handforth, to collect his second try.
But the score simply reinforced the Giants' desire and determination and with props Adam Walker and Dave Orwell moving well they kept Batley's backs to the wall.
However, Wood showed how it should be done when he tricked his way through for a try goaled by McNally to make it 20-12.
Batley hit back in sensational style as they staged a length-of-the -field try-scoring move to restore their supremacy.
It was initiated by Brown and carried on by Mennell and Maun before recent signing Alex Bretherton took over 40 metres out to complete the move and give Moore an easy shot at goal.
Batley lost momentum when they were hit by a string of penalties for offside and were under the cosh when substitute Paul Foulstone was sin-binned for holding down.
He had barely departed when Jacob Fairbank drove over for a try goaled by McNally. Minutes later the stand off crossed the line but dropped the ball as he did so.
Batley made the Giants pay as wingman Wayne Reittie leapt high to collect a kick and prevent a Giants score in the corner. Four tackles later he was on hand at the other end of the field to take the final pass for a try.
? Bryn Powell, Featherstone Rovers' new signing from Dewsbury Rams, scored a brace of tries on his debut as a second-string Rovers defeated visitors Gateshead Thunder 36-22.
Tom Carr scored a try and kicked four goals and Jamie Milburn, Greg Worthington, Ryan Gaunt and Davi Garahan also crossed for Rovers, who led 30-0 at half-time.