No one was injured after an improvised explosive device detonated on the playground of a Montana elementary school Tuesday, authorities said.