It happened around 11:20 a.m. at Frog Pond Elementary School in Little Egg Harbor Township.
Medics rushed the girl, who is between seven and eight years old, to the hospital.
The girl's mother is with her, rescuers said.
There is no word yet on how the girl was shocked.