The force on a current-carrying wire
A wire carrying current across a magnetic field feels $F = IlB\sin\theta$, the sum of the forces on its moving charges, so two parallel currents in the same direction attract and opposite currents repel.
From AP Physics 2.