Leeds warmed up for the Super League play-offs by clinching fifth place with a 31-24 win at Huddersfield.
But they had to come from behind to do it, second-half tries from Ryan Hall, Carl Ablett and Jamie Jones-Buchanan adding to first-half efforts from Zak Hardaker and Brent Webb.
Huddersfield's four tries came from Michael Lawrence, Luke Robinson, Larne Patrick and Jermaine McGillvary.
Leeds will now host eighth-placed Hull next Sunday (18 September, 1715 BST).
Huddersfield will play next Friday at table-topping Warrington (16 September, 2000 BST).
And they have already suffered a pre-match blow as they will be without the influential Leroy Cudjoe, who suffered a second-half knee injury.
The Huddersfield crowd are very passionate. At one stage they were even calling for the hot dog seller to be given offside. It would have been easy for a referee to buckle under that kind of pressure
Leeds coach Brian McDermott
Leeds prop Kylie Leuluai made his 150th appearance for the Rhinos, who avenged their 38-6 home defeat by the Giants in April - their second heaviest defeat of the season.
But controversy surrounded the decision to allow Hall's try to stand on 66 minutes, despite claims of a knock-on.
Carl Ablett made for the line, but was held up and had the ball knocked out of his hands by a Giants player, from where Hall picked it up and dived over.
The Huddersfield fans were incensed, thinking Ablett rather than one of their own defenders dropped the ball, and that it had gone forward.
Huddersfield coach Nathan Brown told BBC Radio Leeds:
"It was a good hit-out. There were periods of the game where they were well on top, then we were on top, and it was the ideal build-up for a semi-final as far as we're concerned.
"We'd have liked to have won the game, but it was important for us to make some improvements on what we did the week before, and we felt like we definitely moved forward.
"It would have been good to win and we went out there trying to win, but to play a very good Leeds side who played very well, and at times put ourselves in really good positions was great.
"If we can tidy up one or two areas and improve again next week, then today's game will give us a much better shot at doping well next week than an easy game would have done."
Leeds coach Brian McDermott told BBC Radio Leeds:
"You play Huddersfield and they're a big team, very aggressive, and you have to front up and do certain things with your body which you probably don't want to do in the cold light of day.
"Jamie Peacock, Ryan Bailey and Kylie Leuluai stood in front of whatever they had to throw down the middle and we repelled it.
"We've sharpened our tools out there. What a game that was for a final game, where you can test your defence and attack, and we've got a little bit to work on, both of us. We haven't run away with that and we haven't been poor either, so in terms of preparation [for the play-offs] I thought that was a good one."
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.