why not use this selector and do away with the class? a[href='#']