A computer enclosure includes a cage (10), a side panel (20) and a latch device (30) for securing the side panel to the cage. The latch device includes a cap (50) attached to the side panel, an actuator (40), a resilient strip (60), and a coil spring (48). The cap includes an end plate (56) having an aperture (562) and a base (52) defining a pair of grooves (524). The actuator includes a shaft (462) fixing the coil spring therearound and extending through the aperture, and a pair of symmetric clamps (422). The resilient strip includes a free portion (64), with a projection (642) extending therefrom. The strip is attached to the base. The actuator is slidably received in the cap and the clamps slide in the grooves to engage with free portion of the strip. The projection moves upwardly and downwardly to engage with and disengage from the cage.