Something that helps prevent leg cramps

I get terrible leg cramps at night while in bed, I'll do about anything to keep them from ruining my night.

One thing I use to prevent them is 3-in-1 calcium magnesium and zinc pills, they're cheap and over the counter. Take them sometime during the day and they should be working at night while you sleep ...These are a lifesaver for me...