No bitter exes here!

Less than a week after her split with longtime boyfriend Beau Casper Smart, Jennifer Lopez joined ex-husband Marc Anthony on stage during his "The Private Collection" concert series for a friendly duet to their pop Latin hit, "No Me Ames."

WATCH: Jennifer Lopez Speaks Out Following Split From Casper Smart: 'Protect Your Heart'

Fans -- and a visibly surprised Anthony -- greeted the "Shades of Blue" actress with a warm welcome as she ascended the Radio City Music Hall stage wearing a glittering black gown with a revealing slit and plunging neckline.

The former couple, both 47, were clearly in their element throughout the song, smiling, laughing and dancing before embracing in a big hug following the performance.

The tender moment was shared across both singers' social media accounts. "Always fun sharing the stage w this one... @marcanthony #NoMeAmes #radiocitymusichall #familia," Lopez wrote on Instagram. Anthony regrammed the photo shortly thereafter.

A photo posted by Jennifer Lopez (@jlo) on

Despite their 2011 split, the divorced duo has made it a point to put their family and children first, as evidenced by Anthony's #AllAboutFamily Instagram photo taken after the show that featured Lopez, their 8-year-old twins, Emme and Max, and his current wife, Shannon De Lima.

A photo posted by Marc Anthony (@marcanthony) on

Just days before her breakup with Smart, Lopez echoed the family-first sentiment with a shout-out during her "All I Have" show in Las Vegas, where Anthony made an appearance. "You're an international legend and icon, but you're also my baby daddy," she joked, as her ex took a bow.

WATCH: Jennifer Lopez Gives Marc Anthony a Sweet Shout-Out During Vegas Show, Poses With Him and Boyfriend Casper Smart

The newly single hit maker is also reportedly "on good terms" with Smart, who announced plans to lay low for a while in a recent Instagram post.