A light metal disc on the top of an electromagnet is thrown up as the current is switched on because when the current flows through the electromagnet, the magnetic flux through the disc increases which leads in setting up an eddy current in the disc in the same direction of the electromagnetic current. So the upper surface of electromagnet and the lower surface of the disc acquire same polarity. Since body with same polarity repels, therefore, the disc is thrown up.