A friend of mine called the other day quite upset that a glass of water had spilled on their laptop. Here are a few tips if you spill a liquid on your laptop.
1. Unplug the laptop from AC power and remove the battery. You can seriously damage the circuitry if you leave it running.
2. Immediately find someone that can fix laptops. If they know what they are doing, they will disassemble the laptop, and completely dry every component.
There is no guarantee that the laptop will work again, but the key here is that you don’t wait to get it repaired. Pure water is completely harmless to computers, but most water isn’t pure. It has all kinds of added things in it that will corrode the electronics in your computer. Anything that has sugar in it is worse than water. I would recommend that you don’t keep any food or beverage near your computer.