Hugh Jackman visited the 'Tonight Show Starring Jimmy Fallon' last night (Sept. 10), where he discussed singing at Joan Rivers' funeral -- something she had apparently asked him almost a decade prior.

"It was amazing," he said of performing at her Sept. 7 funeral, shaking his head. "I must admit, I've been to several funerals, and I've always kind of felt for the person that had to sing. Like, oh, how do you do that?"

As it turns out, the answer is simple when Joan Rivers asks you.

"At her funeral, when Joan Rivers asked, you just answer. She had planned everything out," Jackman explained. "She had seen me a show called 'The Boy From Oz,' which I did here on Broadway. I sang a song from that called 'Quiet, Please, There's a Lady Onstage,' and it's a beautiful celebration of a woman. And it was for her. And the entire audience in the synagogue got up and just started clapping and singing. The whole thing was very uplifting. Very touching and moving, but funny."

"She was an amazing woman, and it was an appropriate send-off. And I felt honored to be part of it," Jackman said.