Ali Crawford was the last minute hero to dramatically lift St Johnstone off the foot of the table.
A terrific start from the Perth side was rewarded when towering striker Callum Hendry superbly nodded beyond helpless Max Stryjek.
But Saints weren’t able to take further advantage while on top and Bruce Anderson levelled proceedings before the break.