A jack-in-the-box is a children's toy. It consists of a box with a crank. The crank is turned, playing out a melody (often Pop Goes the Weasel). At the end of the tune, the lid pops open and a figure of some sort, usually a clown, pops out of the box.