>> Click here to watch the video

In her honor, the Staten Island students sang Martina McBride’s “I’m Gonna Love You Through It.”

Lopez watched the performance, sobbing, as the children held up pink flowers for her.

>> Read more trending stories

McBride's lyrics are about staying strong through cancer:

She dropped the phone and burst into tears

The doctor just confirmed her fears

Her husband held it in and held her tight

Cancer don’t discriminate or care if you’re just 38

With three kids who need you in their lives

He said, "I know that you’re afraid and I am, too

But you’ll never be alone, I promise you"

When you’re weak, I’ll be strong

When you let go, I’ll hold on

When you need to cry, I swear that I’ll be there to dry your eyes

When you feel lost and scared to death

Like you can’t take one more step

Just take my hand, together we can do it

I’m gonna love you through it.