Grynx has an interesting guide showing you how to salvage your devices after you've accidentally spilled liquid on them. The first step is obviously to disconnect the device as soon as possible.
No matter if you have a keyboard with coffee or a laptop with coke, you can always clean it. Well, sometimes it doesn’t work but you’ve got nothing to loose, right? What I’m going to do here goes against all current laws about static electricity protection (ESD) and other things that you’re not supposed to do with your electronics devices.