Foaming in mouth usually occurs due to-dry mouth.
Give plenty of fluids and nutritious diet to your child.Vitamin b12
and folic acid
supplements can be given.
If necessary ,salivary substitutes has to be administered.
Please do visit a dentist
as well as a physician for further concern,