Town midfielder Chris Atkinson gave his side an early lead, but Michael Tonge equalised before Luciano Becchio put the visitors ahead in the 37th minute.
Former Leeds midfielder Adam Clayton levelled from the penalty spot just before half-time, but Leeds were superior after the break and scored twice more through David Norris and Becchio, who headed home his 14th goal of the season in the 86th minute.
"It comes very high on the list," said Warnock. "Especially away from home in a derby. They dominated the first 15 to 20 minutes but we got back into it then and I thought: 'Ok, let's play now' and after that we were very good.
"We dominated the second half and played some good football really. The boys have been on fire all week and we hoped they wouldn't leave it on the training ground.
"The finishing has been out of this world in training and you could see that. To see it in a game was great, sometimes I had to look twice."
Warnock also singled out Becchio, adding: "He's done well this week. It's amazing what he can do when he sets his mind to it. One or two of my friends from other clubs say when Becchio plays, you seem to play.
"We've got a better team now to give him the ball in areas he wants to be, but he hasn't always performed to the best of his ability and it's a shame that.
"But hopefully the penny's dropped and he can continue in that form."