Leg cramps can be triggered by a variety of foods, including those that are high in sugar, salt, and certain minerals. Sugar-rich foods, such as candy, soda, and baked goods, can cause muscle cramps by causing a rapid spike in blood sugar. This can cause the muscles to contract suddenly...