jQuery .filter HREFF with ID

jQuery .filter HREFF with ID
0

#1

Hey i want to select HREF and ID:

I have

.filter('[href="#"]')

this select HREF but how do both?`

I have for ID something like:

$(this).attr('id')

How can select both include with .filter?

Thanks


#2

Only can be with + var + ?


#3

Hi,

Please share your code and the link to the exercise