Glad you were able to catch him before he got into that.
As for what to do IF it happened (ingesting bleach/detergent, etc.) the best thing would be to call poison control or the phone number listed on the bottle of whatever you are using. This would be the quickest way to get information for...