C.A.
You can also take an ice cube to make it cold and hard and it will peel right off. Then use a stain remover to clean it up. As another mom wrote Sol-U-Mel works great.
We had the same problem in the carpet and it was during the summer so it got very soft. We just took an ice cube and rubbed it in the spot and rolled it off the carpet and then used the stain remover to finish the job. Never knew it was there.