Patent ID: 7948741

Claim:
A portable computer comprising: a main body comprising a top surface, a receiving recess and a receiving hole defined in the top surface communicating with the receiving recess to form a connecting portion; a keyboard positioned in the main body, the receiving hole positioned between the receiving recess and the keyboard; a touchpad detachably received in the receiving recess and comprising a touchpad body and an engaging member protruding from the touchpad body adjacent to the keyboard, the engaging member comprising an engaging portion; an ejector assembly comprising at least one elastic member, one end of the elastic member attached to a side of the receiving recess, and the other end of the elastic member abutting the touchpad body; and a latching assembly comprising a first restricting member and a second restricting member facing the first restricting member, the first restricting member connected to the connecting portion, the second restricting member fixed to the receiving hole, the first restricting member, the second restricting member, and the connecting portion cooperatively defining an engaging groove to latch the engaging portion and making a upper surface of the second restricting member and the top surface lies on a same plane, when the second restricting member is pressed down, the engaging portion is ejected by the ejector assembly.