I am fairly new to jQuery and understand the basics, but I am having issues targeting certain pieces of the page so I need to fill in some gaps in knowledge.
I do understand $(this).attr('href') would get the attribute of href within the currently focused/clicked element.
But what if it’s written like this $($(this).attr('href'));?
It’s code I have in a script I didn’t write, and I’m not sure if that’s just an error or intentional.
I have a feeling this is pretty basic but how to search for $($())?
And when I search for $($(this).attr('href')) all I get is documentation on the original clause which I already understand.
Is it just a typo or a separate use case?