dog is throwing up yellow foam and has diarrhea?
Most dogs with gastroenteritis will have intermittent episodes of vomiting and diarrhea. The vomit may contain foamy, yellowish bile, especially after the stomach has been emptied.