I don't have an issue, but have had times when I got code that didn't work because there was a jQuery object inside another jQuery object.
So I'm just looking for some clarity on the matter. I've looked for answers on this but haven't found anything.
Can we have:
var element1 = $("some-element");
$(element1).addClass("hidden");
Not sure if I'm just stupid (by no means a JavaScript or jQuery expert. I'm still quite junior), but I just wanted to find out what the deal with this is.