Aston Villa won 2-1 on the night against Rapid Vienna but still went out of the Europa League on away goals as the tie finished 2-2 on aggregate. A first half James Milner penalty and a solo effort from John Carew after the break seemed to have set Villa on course for the group stages.
But the impressive visitors deservedly got the vital away goal with just 14 minutes remaining.
Jelavic, who had scored for Vienna in the first encounter, had the final say when he slotted home.
Martin O'Neill was left to wonder what might have been had Ashley Young not seen his first half spot kick saved by Vienna 'keeper Helge Payer.
At the final whistle it was the shirtless Vienna fans who celebrated progression to the group phase at a half empty Villa Park.