You can select both of them: `$(#sign-up-form, #sign-in-form).toggle()`