Winnie Cooper is a trooper!

Former "Wonder Years" star Danica McKellar just performed on "Dancing with the Stars" after breaking her rib during rehearsals last week.

Footage from her practice with partner Val Chmerkovskiy was shown on Monday night's episode, giving fans a glimpse at the exact moment she busted up her body -- and her subsequent trip to the hospital.

Despite her injury though, the actress and math genius came out ready to give it her best, shaking her hips for a sexy salsa.

But was it enough?

Judge Carrie Ann Inaba could tell she was performing through some serious pain, saying "having a broken rib makes that dance one of the most difficult dances to do." She also criticized McKellar for not being able to get as "down and dirty" as the routine required.

"It's impossible to get that kind of feel if you're not able to use all the muscles to the full extent," judge Bruno Tonioli added. "I'm sure you're going to be back and I'm sure you're going to dazzle us again."

Hot Videos