K.D.
I work on a laptop as well, but I'm all over the place with it -- never just in one spot. My son wanted to play/put in his mouth the cords too. Unfortunately cords are endless nuisances at my house -- not just in one spot. For me, I just gently, but firmly, removed the cord from his grasp, removed him from the spot and directed his attention elsewhere. Without a big reaction from me it stopped being an attention getter, and since I was always taking it away it was no longer fun. It takes a couple of weeks of really consistently doing it, but after that cords have not been a problem. If you just hide them, he will find them later. Good luck!