Boss Micky Mellon can only have pleased with the way his squad coped with the test against higher level opposition and finished so strongly.
Jean-Louis Akpa-Akpro gave Town a ninth-minute lead from the spot after he was bundled over by Lee Peltier as he cut into the area on the left.
Cardiff then pressed and Kagisho Dikcagoi couldn't nudge home Peter Whittingham's free kick from almost on the line.
Then dangerman Anthony Pilkington cut inside Junior Brown on the Bluebirds left only for Jayson Leutwiler to parry his fierce shot.
The visitors levelled in the 26th minute when Town's defence failed to defend a long throw-in and Joe Mason stole in to poke the ball home.
Town: (4-5-1, 4-4-2 HT, 4-3-3 70 mins): Leutwiler; Tootle (Patterson HT), Goldson, Grandison (Ellis HT), Sadler (Demetriou 75); Brown (Vernon 70), R Woods (McKnight 75), M Woods (Lawrence HT), Ogogo (Clark HT), Akpa-Akpro (McAlinden HT); Barnett (Collins HT).
Sub not used: Burton.
Referee: Rob Lewis (Telford).
Leutwiler again came to the rescue after the half hour when Martin Woods gave the ball away and the keeper beat away Pilkington's shot from the D.
Shrewsbury, who played 4-5-1 in the first half before switching to 4-4-2 then 4-3-3 in the second, eventually broke six minutes before the break.
The busy Matt Tootle slid in to rob Sean Morrison and forced a diving save from Ben Wilson with an angled drive.
Town went close to regaining the lead on 41 when Martin Woods's curling free kick hit the pole holding up the net.
But Cardiff, backed by 872 fans in the 2,446 crowd, had two more chances to snatch the advantage before half-time when new signing Sammy Ameobi curled two long range efforts just off target prior to the break.
Both sides made five substitutions at half-time, and it was Cardiff show showed first by going ahead in the 55th minute.
Pilkington curled home a delicious free kick from the left of the D after Ryan Woods was somewhat harshly penalised for fouling Craig Noone.
But Town will be disappointed at the way they coped with the set-piece after the defensive wall split.
Shrewsbury tried to it back immediately when James Collins at full stretch was inches away from McAlinden's left-wing centre.
Town retained the pressure and Jordan Clark's cross was scrambled against the post after McAlinden flicked on.
Cardiff made a further six substitutions in the 61st minute.
But it was Mellon's side who finished strongly and a first-time snapshot by Collins was blocked by substitute keeper Simon Moore after a quickly-taken free kick.
Liam Lawrence then charged down a poor goal kick and teed by Clark in the inside left position but the youngster could only blaze over.
Town weren't finished though and a lovely passing move fashioned an overdue equaliser.
McAlinden fed Lawrence, who squared for Scott Vernon first time and his placed curler hit the bar before Collins followed up left footed, the shot trickling over the line after Moore smothered it.
The only blemish for Town was Shaun Whalley failing to make it because of a slight groin injury in training.

5. 4a391b10-3d87-4157-b843-bc90f77b0657.jpg

6. a2123d06-4d0d-49ac-9699-ee3690e863b9.jpg

7. b9bba620-830a-48cf-9b89-002b21852e80.jpg


