Credit: Trae Patton/ABC via Getty Images

Actor Sam Lloyd, known for playing hangdog lawyer Ted Buckland on NBC’s Scrubs, has been diagnosed with cancer.

According to a GoFundMe campaign page, doctors diagnosed Lloyd, 55, with inoperable cancer in January after discovering a brain tumor that had metastasized from his lungs. The news came just weeks after Lloyd and his wife, Vanessa, welcomed their first child.

The GoFundMe campaign was launched by Scrubs producer Tom Hobert and his wife. Other members of the Scrubs cast and crew, including creator Bill Lawrence and stars Zach Braff and Kate Micucci, have tweeted their support for Lloyd, encouraging others to donate.

The campaign has raised more than $40,000 in one day, with a posted goal of $100,000.

Lloyd has been a steady presence on screen for three decades, appearing in such movies and TV shows as Galaxy Quest, The West Wing, and Modern Family. He is also known for his musical work; his a cappella group the Blanks appeared several times on Scrubs, and he is a member of a Beatles tribute band called the Butties. According to the GoFundMe page, he has also been working on a stage musical for a decade.