I am not sure it matters how they got it right at the moment. You want to get it stopped because they get dehydrated. Then you start talking vet bills and they can also lose a ton of weight very quickly and are in trouble.
I buy a liquid anti-diarrheal and disguise it in my cat's favorite food (which happens to be small bits of baked organic chicken breast). It usually stops it within 2-3 doses of it (so, kitty gets better in about 1-2 days.
They make this specifically for cats. I keep it on hand and even if I don't use it I frequently check the expiration date and buy more so I always have it on hand.
This is the last type I bought. You can walk into Petco and pick up the same type of medicine in a different brand.
https://www.amazon.com/gp/product/B0...e?ie=UTF8&th=1