How to, in one selector, account for a selector that has a format like attr1, attr2, attr3
etc until attr9
so that I can create a click method in jQuery? I'm unable to come up with anything myself I'm sure and I'm tired here at work and can't think straight!!
Any ideas? Thanks! Here's what I have
$( () => {
$('#attr' + ).click( () => {
$(this).next('div').slideToggle();
$(this).parent().siblings().children().next().slideUp();
return false;
});
});