document on click switch-to-signup function signUp fadeOut signIn fade

1
2
3
4
5
6
7
8
$(document).on("click", '.switch-to-signup', function (e) {
$('#signUp').fadeOut(0);
$('#signIn').fadeIn(200);
});
$(document).on("click", '.switch-to-signin', function (e) {
$('#signIn').fadeOut(0);
$('#signUp').fadeIn(200);
});