Is it possible to select two elements using jquery at a time?
For example, I tried this, but he selected only the first element:
$('.loginStaff' || '.loginClient').click(function(){
$('.login_form').toggle();
});
I also tried, but this only selected the last item:
$('.loginStaff' && '.loginClient').click(function(){
$('.login_form').toggle();
});
Thanks!!! Global
source
share