Dogs can have Epilepsy, and with the right medicine, just like in people, can live long and normal lives with it.
It does sounds like seizures, I don't know how much the tests cost, but write down everything for your vet - what were the circumstaces when it happened, (did he eat something right before it, etc.) how long it was in duration, and what happened.
There are people here who have or have had dogs with Epilepsy here, some of them may chime in.
Bookmarks