Jennifer Lopez rocked the iHeartRadio Music Festival in Las Vegas, Nev. over the weekend, pleasing the crowd with live versions of new and old hits.

J. Lo was introduced to the stage by her 'American Idol' cohorts Ryan Seacrest, Randy Jackson, and Steven Tyler, before kicking off her set with a rendition of 'Get Right' from 2005's 'Rebirth.'

The newly single pop star also performed 'Jenny From the Block' from her 2002 album 'This Is Me ... Then,' as well as her 2011 smash single 'On The Floor' from her latest album, 'Love?.'

In fan-made videos from the music festival, it's clear that the 42-year-old has plenty of spunk and energy on stage, dancing like the pro she is in a fiery red dress. The appearance comes a week after the premiere of her latest video for her new single, 'Papi,' in which the singer shows off her moves once again.

Lopez was among the A-listers at the two-day concert, performing on a bill that included Alicia Keys, Carrie Underwood, Nicki Minaj, David Guetta, Bruno Mars, Kelly Clarkson, Usher and many more.

Watch Jennifer Lopez Perform 'Get Right' at the iHeartRadio Music Festival

Watch Jennifer Lopez Perform 'Jenny From the Block' at the iHeartRadio Music Festival

Watch Jennifer Lopez Perform 'On the Floor' at the iHeartRadio Music Festival