Substitute Chris Basham completed a late comeback by Blackpool as Ian Holloway's side overcame Crystal Palace.
Owen Garvan put Palace in front from the spot after Barry Ferguson was adjudged to have handled in the area.
However, with time ticking away, Gary Taylor-Fletcher crossed for Elliot Grandin who slotted home.
Basham then pounced to force home the winner in the last minute when Kevin Phillips's header came off the bar.
The dramatic victory ensures Blackpool stay just a point outside of the Championship play-off places.
Despite making nine changes to his starting line-up from last weekend's 1-1 draw with Leeds ahead of their crucial Carling Cup semi-final with Cardiff City on Tuesday, Palace started the brightest with Calvin Andrew striking just wide from 25 yards.
Blackpool responded with Rangers loanee John Fleck going close with an effort that flew just over the bar.
Kieron Cadogan then put a ball in the area that came off Ferguson's hand and Garvan fired home the penalty.
Ludovic Sylvestre forced a good save from Palace keeper Lewis Price just before the break but Blackpool didn't get their equaliser until five minutes from time when Grandin finished off Taylor-Fletcher's cross from 12 yards.
Then there was just enough time for Basham to get the winner when he reacted first in the area to Phillips's header coming back off the bar.