Batley held off a tremendous second-half fightback from Keighley to move into third place in the Co-operative Championship with a 34-30 victory at Cougar Park.
The Bulldogs thought they had the game wrapped up when they raced into a 30-0 lead after 25 minutes thanks to tries from Jonny Campbell, Alex Brown, Alex Bretherton, Gareth Potts and Danny Maun, all converted by Gareth Moore.
But the Cougars grabbed a toe-hold in the match with tries from Jode Sheriffe and Sam Obst before half-time and they added more after the break through Obst, Jy-Mel Coleman and Richie Barnett to provide a scare for John Kear's men, whose only try in the second half came from Mark Applegarth.
In Sunday's other match, Swinton twice came from behind to beat bottom club Hunslet 36-22 at Leigh Sports Village.
The Hawks were in sight of only their second win of the season when they led 16-12 at half-time thanks to tries from Andrew Yates, Stuart Kain and Liam Welham, plus two goals from Aaron Dobek, while Josh Nathaniel added a fourth try in the second half to keep his side in front.
Swinton forward Adam Walker, playing on a dual registration from Huddersfield, got two tries before the interval to keep his side in touch and they gradually got on top in the second half.
Gavin Dodd got two tries and others came from Martin Ainscough and Chaz I'Anson, with Ian Mort kicking six conversions.