Onions in any form - cooked, raw, even onion flakes or powder are very bad for dogs. They can cause anemia in your dog. Cats are even more susceptible to damage of cells than dogs. Although garlic is also toxic, onions are more toxic than garlic. However, do not minimize the importance of garlic toxicity! Avoid both, as well as many other human food items which I am including in the site below.
The reason is the active ingredient allyl propyl disulfide, which is a component of onion oil.
Please read..............
Whether fresh, cooked, or dehydrated, onions can be very toxic to all dogs and cats.
The active ingredient in onions is allyl propyl disulfide, a component of onion oil. This substance damages red blood cells, or RBCs.
Feeding your dog or cat onions can cause a condition called Heinz body anemia. Heinz bodies are small, round projections that extend out from the red blood cells. These projections are accumulations of damaged hemoglobin molecules. Allyl propyl disulfide irreversibly breaks down hemoglobin and permanently damages the RBCs. The oxidative effects of onion oil also damage the cells’ surrounding membrane, further weakening the red blood cells. The body responds by destroying the damaged cells. As the number of red blood cells circulating in the body falls, Heinz body anemia results.
answers.yahoo.com/question/index?qid=20061004181133AAME12X-4
Here is a site that tells you all of the foods that are toxic to dogs. Be sure to learn it, as there are many things that a lot of people are not aware of:
Hope this helps!