Upper East Side moms are having a spirited online debate over whether to boycott a school where a grandchild of President Trump is a student.

One of the anonymous contributors to UrbanBaby.com said her son had gotten into Buckley [School], but she didn’t want to send him there because a son of Donald Trump Jr.’s (likely 4-year-old Spencer Frederick) is said to be going to kindergarten there in the fall.

“They will be in the same classroom and I don’t think I can deal with this. Birthday parties, etc.,” the mother wrote.

Another mom replied: “It’s an innocent kid. It’s not like he can help the family he was born into. The hate must run really deep with you.”

A third mother wrote: “You almost have to decline. It sounds like it will drive you crazy . . . You want to spend nine years worried that DS [darling son] is getting infected with Trumpism?”

A representative from President Trump’s office had no comment on the matter. Buckley did not respond to a request for comment.