We investigate theoretically the spin-dependent electron transport in a straight waveguide with Rashba spin-orbit coupling (SOC) under the irradiation of a transversely polarized electromagnetic (EM) field. Spin-dependent electron conductance and spin polarization are calculated as functions of the emitting energy of electrons or the strength of the EM field by adopting the mode matching approach. It is shown that the spin polarization can be manipulated by external parameters when the strength of Rashba SOC is strong. Furthermore, a sharp step structure is found to exist in the total electron conductance. These results can he understood by the nontrivial Rashba subbands intermixing and the electron intersubband transition when a finite-range transversely polarized EM field irradiates a straight waveguide.