Jermaine Beckford's third goal for Huddersfield Town was enough to secure all three points against Barnsley this afternoon.
The in-form striker rose to meet a pinpoint cross from Simon Church after 36 minutes, guiding a neat header into the corner.
Barnsley tried to respond and came close to an instant equaliser when Tomasz Cywka forced Alex Smithies into a smart save with a rasping drive from range.
Mido was introduced in the second half but the Egyptian striker failed to make the desired impact for the home side.
Lee Novak and Alan Lee threatened to put the game out of sight in the closing stages but both had strong penalty shouts turned down.
Simon Grayson's side were rarely troubled late on and held out comfortably to pick up a crucial three points over their Yorkshire rivals.