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

This video is unavailable because we were unable to load a message from our sponsors.

If you are using ad-blocking software, please disable it and reload the page.

Friendly exes, indeed!

Marc Anthony attended Jennifer Lopez's All I Have show at Planet Hollywood Resort & Casino in Las Vegas on Saturday with his fourth wife, model Shannon de Lima, and could not have looked more supportive of his former spouse. Anthony and de Lima even visited Lopez backstage, where their group happily posed for a pic with the "Jenny From the Block" singer's current boyfriend, Beau Casper Smart.

Planet Hollywood Resort & Casino

WATCH: 7 of Hollywood's Friendliest Divorces

Anthony was seated at a VIP table, and Instagrammed a photo of him and his wife with a few pals enjoying the show.

"Having an amazing time in Vegas #jlo all I have amazing show. Congrats baby!" de Lima also Instagrammed, proving there's no beef whatsoever with her husband's superstar ex-wife.

J.Lo gave Anthony a cute shout-out during the show, acknowledging his presence to her fans. "You're an international legend and icon, but you're also my baby daddy," she joked as Anthony stood up and took a bow. The "You Sang to Me" singer was also visibly touched while Lopez performed one of her ballads during the concert and talked about their 8-year-old twins -- Max and Emme -- as their photos came onscreen.

Lopez's Vegas residency has clearly been a smashing success. All I Have grossed over $1 million in show revenue on Saturday night, officially making it Planet Hollywood’s highest gross to date.

In June, 47-year-old Lopez talked to ET about crying every night at her Las Vegas residency during the portion of the concert when she honors her children.

"People are like, 'Is she crying!?' I'm like, 'Almost every night, thank you,'" Lopez admitted when we caught up with her at the junket for Ice Age: Collision Course. "[But Max and Emme] love it. You know, they go, 'Why is my face up there!?' My son will be like, 'Why is my face there? People are laughing at us!' He gets worried about that stuff. My daughter [just] loves watching it."

Lopez and 47-year-old Anthony split in July 2011, after seven years of marriage. Anthony has been married to de Lima, 28, since November 2014.

WATCH: Jennifer Lopez Rocking Out to Adele's 'Rolling In the Deep' Is Everything 

Lopez, of course, has also moved on. The "Love Don't Cost a Thing" singer has been in an an-again, off-again relationship with 29-year-old Casper since 2011.

"We broke up for a little bit. We've done that a couple of times," she admitted to Wendy Williams in March. "It's not that dramatic. It's like, 'bye,' then we get back together and then, 'hi.'"

"I'm not feeling any pressure," Smart also told ET that same month about potentially popping the question when we sat down with him to talk about his film, The Perfect Match. "We're happy where we are."

Watch below:

Related Gallery