It seemed that Cardiff would extend their 27 match unbeaten home record at Ninian Park when Peter Thorne came back to haunt the Terriers.
Thorne hit the equaliser for Stoke against Town a fortnight ago before signing for the Bluebirds and it was he who opened the scoring in the 7th minute by converting Weston's cross past a flapping Margetson after Chris Holland had lost the ball in midfield.
Martyn Margetson quickly regained his composure against the Bluebirds as he went on to produce a superb goalkeeping display against his countrymen.
Lou Macari had opted to play an adventurous 4-4-2 with Schofield partnering Booth upfront and Chris Holland patrolling the left flank.
Both sides were playing an open game and there were plenty of contests in midfield which allowed Town to play for their equaliser on 20 minutes.
Dwayne Mattis scored his first senior goal with a left footed half volley past Neil Alexander after a flowing Town move down the right ended with a trademark run and cross from the ever-dangerous John Thorrington.
With scores level it was Town who gained in confidence and, with Kevin Gray and Nathan Clarke doing a superb job marshalling Thorne and Fortune-West at the back, the likes of Irons and Thorrington got on with the job of creating chances for Town's frontmen Andy Booth and Danny Schofield.
The winner came from a Thorrington free kick which was punched away by Neil Alexander but it was a weak effort and Danny Schofield pounced on the loose ball and hooked it past the stricken 'keeper to put the Terriers into the lead.
The Bluebirds were always menacing but their attacking efforts became increasingly biased towards hopeful long balls which were dealt with by Town's strong defence and the presence of Andy Booth at the back during critical defensive moments.
It had been Town's most important game of the season and, with a strong rearguard action, the Terriers showed signs of becoming the strong promotion candidates that many had tipped them to be this season.
editor with your comments.
Cardiff City (4-4-2): Alexander, Weston, Gabbidon, Prior, Simpkins, Boland, Kavanagh, Legg, Brayson (Bowen 61), Fortune-West, Thorne
Subs not used: Bonner, Kendall, Hughes, Hamilton
Booked: Prior, Boland
Scorer: Thorne 7
Huddersfield Town (4-4-2): Margetson, Jenkins, Evans, Gray, Clarke, Irons, Thorrington, Mattis, Holland, Booth, Schofield
Subs not used: Digby, Moses, Heary, Baldry, Hay
Booked: Irons, Jenkins
Scorers: Mattis 20, Schofield 56
Referee: John Brandwood (Lichfield)