A connection device connecting a plurality of PCB connectors with a printed circuit board includes a first positioning rib, a second positioning rib, and an elastic member between the first positioning rib and the second positioning rib. A distance between the first positioning rib and the second positioning rib is adjustable by deformation of the elastic member.